home *** CD-ROM | disk | FTP | other *** search
/ Computer Inter@ctive 17 / Computer Interactive cdrom 17 - gen 99.iso / ZDNETIT / CONTENT / CMATHW16.ZIP / DOC.ZIP next >
PKZip Archive  |  1998-10-21  |  46.8 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: PKZip Archive (archive/zip).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert PKZip Archive (archive/zip) magic Supported
100% file Zip archive data, made by v2.0, extract using at least v1.0, last modified, last modified Sun, Oct 21 1998 01:25:00, uncompressed size 4810, method=store default
99% file Zip archive, with extra data prepended default
98% file data default
66% TrID Mozilla Firefox browser extension default (weak)
33% TrID ZIP compressed archive default
100% dexmagic PrintFox/Pagefox WEAK default
100% siegfried x-fmt/263 ZIP Format default
100% lsar Zip default
100% gt2 ZIP Archiv gefunden (Auflistung ist deaktiviert) default
100% detectItEasy Archive: Zip(1.0)[100.0%,4 files] default
100% binwalkID Zip archive data, at least v1.0 to extract, compressed size: 4810, uncompressed size: 4810, name: README.TXT default
100% xdgMime application/zip default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 4b 03 04 0a 00 00 00 | 00 00 20 0b 55 25 b2 24 |PK......|.. .U%.$|
|00000010| d1 e2 ca 12 00 00 ca 12 | 00 00 0a 00 00 00 52 45 |........|......RE|
|00000020| 41 44 4d 45 2e 54 58 54 | 20 20 20 20 20 20 da c4 |ADME.TXT| ..|
|00000030| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000040| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000050| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000060| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 bf 0d |........|........|
|00000070| 0a 20 20 20 20 20 20 b3 | 20 20 20 20 20 20 20 20 |. .| |
|00000080| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000000b0| 20 20 20 20 20 20 20 b3 | 0d 0a 20 20 20 20 20 20 | .|.. |
|000000c0| b3 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000000d0| 20 20 20 43 20 4d 20 41 | 20 54 20 48 20 66 6f 72 | C M A| T H for|
|000000e0| 20 42 6f 72 6c 61 6e 64 | 20 43 20 2f 20 43 2b 2b | Borland| C / C++|
|000000f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000100| b3 0d 0a 20 20 20 20 20 | 20 b3 20 20 20 20 20 20 |... | . |
|00000110| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 62 79 20 | | by |
|00000120| 4d 61 72 74 69 6e 20 53 | 61 6e 64 65 72 20 31 39 |Martin S|ander 19|
|00000130| 39 36 2d 31 39 39 38 20 | 20 20 20 20 20 20 20 20 |96-1998 | |
|00000140| 20 20 20 20 20 20 20 20 | 20 b3 0d 0a 20 20 20 20 | | ... |
|00000150| 20 20 b3 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00000160| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000170| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000180| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000190| 20 20 b3 0d 0a 20 20 20 | 20 20 20 b3 20 20 20 20 | ... | . |
|000001a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000001b0| 53 68 61 72 65 77 61 72 | 65 20 56 65 72 73 69 6f |Sharewar|e Versio|
|000001c0| 6e 20 31 2e 32 2e 35 20 | 20 20 20 20 20 20 20 20 |n 1.2.5 | |
|000001d0| 20 20 20 20 20 20 20 20 | 20 20 20 b3 0d 0a 20 20 | | ... |
|000001e0| 20 20 20 20 c0 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 | ....|........|
|000001f0| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000200| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000210| c4 c4 c4 c4 c4 c4 c4 c4 | c4 c4 c4 c4 c4 c4 c4 c4 |........|........|
|00000220| c4 c4 c4 c4 d9 0d 0a 0d | 0a 31 2e 20 57 68 61 74 |........|.1. What|
|00000230| 20 69 73 20 43 4d 41 54 | 48 3f 0d 0a 2d 2d 2d 2d | is CMAT|H?..----|
|00000240| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 0a 44 |--------|-----..D|
|00000250| 69 64 6e 27 74 20 79 6f | 75 20 61 6c 72 65 61 64 |idn't yo|u alread|
|00000260| 79 20 66 65 65 6c 20 61 | 6e 67 72 79 20 61 62 6f |y feel a|ngry abo|
|00000270| 75 74 20 74 68 65 20 73 | 6c 6f 77 2c 20 69 6e 61 |ut the s|low, ina|
|00000280| 63 63 75 72 61 74 65 2c | 20 6f 72 20 65 76 65 6e |ccurate,| or even|
|00000290| 20 66 61 69 6c 69 6e 67 | 0d 0a 63 6f 6d 70 6c 65 | failing|..comple|
|000002a0| 78 2d 6e 75 6d 62 65 72 | 20 20 66 75 6e 63 74 69 |x-number| functi|
|000002b0| 6f 6e 73 20 6f 66 20 79 | 6f 75 72 20 43 2f 43 2b |ons of y|our C/C+|
|000002c0| 2b 20 63 6f 6d 70 69 6c | 65 72 3f 20 4f 72 20 64 |+ compil|er? Or d|
|000002d0| 69 64 20 79 6f 75 20 70 | 65 72 68 61 70 73 20 72 |id you p|erhaps r|
|000002e0| 65 67 72 65 74 0d 0a 74 | 68 61 74 20 63 6f 6d 70 |egret..t|hat comp|
|000002f0| 6c 65 78 20 6e 75 6d 62 | 65 72 73 20 61 72 65 20 |lex numb|ers are |
|00000300| 6f 66 66 65 72 65 64 20 | 6f 6e 6c 79 20 62 79 20 |offered |only by |
|00000310| 43 2b 2b 2c 20 62 75 74 | 20 6e 6f 74 20 62 79 20 |C++, but| not by |
|00000320| 43 3f 0d 0a 0d 0a 43 4d | 41 54 48 20 69 73 20 61 |C?....CM|ATH is a|
|00000330| 20 63 6f 6d 70 72 65 68 | 65 6e 73 69 76 65 20 6c | compreh|ensive l|
|00000340| 69 62 72 61 72 79 20 66 | 6f 72 20 63 6f 6d 70 6c |ibrary f|or compl|
|00000350| 65 78 20 61 72 69 74 68 | 6d 65 74 69 63 73 20 61 |ex arith|metics a|
|00000360| 6e 64 20 6d 61 74 68 65 | 6d 61 74 69 63 73 2e 0d |nd mathe|matics..|
|00000370| 0a 49 6e 20 74 68 65 20 | 66 69 72 73 74 20 70 6c |.In the |first pl|
|00000380| 61 63 65 2c 20 43 4d 41 | 54 48 20 69 73 20 69 6e |ace, CMA|TH is in|
|00000390| 74 65 6e 64 65 64 20 61 | 73 20 61 20 68 69 67 68 |tended a|s a high|
|000003a0| 2d 71 75 61 6c 69 74 79 | 20 72 65 70 6c 61 63 65 |-quality| replace|
|000003b0| 6d 65 6e 74 20 6f 66 20 | 74 68 65 0d 0a 63 6f 6d |ment of |the..com|
|000003c0| 70 6c 65 78 20 63 6c 61 | 73 73 20 6c 69 62 72 61 |plex cla|ss libra|
|000003d0| 72 69 65 73 20 63 6f 6d | 69 6e 67 20 77 69 74 68 |ries com|ing with|
|000003e0| 20 43 2b 2b 20 63 6f 6d | 70 69 6c 65 72 73 2e 20 | C++ com|pilers. |
|000003f0| 49 6e 20 61 64 64 69 74 | 69 6f 6e 2c 20 61 6c 6c |In addit|ion, all|
|00000400| 0d 0a 66 75 6e 63 74 69 | 6f 6e 73 20 6f 66 20 43 |..functi|ons of C|
|00000410| 4d 41 54 48 20 6d 61 79 | 20 62 65 20 63 61 6c 6c |MATH may| be call|
|00000420| 65 64 20 66 72 6f 6d 20 | 43 2c 20 77 69 74 68 6f |ed from |C, witho|
|00000430| 75 74 20 74 68 65 20 6e | 65 63 65 73 73 69 74 79 |ut the n|ecessity|
|00000440| 20 74 6f 20 75 73 65 20 | 43 2b 2b 2e 0d 0a 0d 0a | to use |C++.....|
|00000450| 53 75 70 65 72 69 6f 72 | 20 73 70 65 65 64 2c 20 |Superior| speed, |
|00000460| 61 63 63 75 72 61 63 79 | 20 61 6e 64 20 73 61 66 |accuracy| and saf|
|00000470| 65 74 79 20 61 72 65 20 | 61 63 68 69 65 76 65 64 |ety are |achieved|
|00000480| 20 74 68 72 6f 75 67 68 | 20 74 68 65 20 69 6d 70 | through| the imp|
|00000490| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 0d 0a 69 6e 20 |lementat|ion..in |
|000004a0| 41 73 73 65 6d 62 6c 79 | 20 6c 61 6e 67 75 61 67 |Assembly| languag|
|000004b0| 65 20 28 61 73 20 6f 70 | 70 6f 73 65 64 20 74 6f |e (as op|posed to|
|000004c0| 20 74 68 65 20 43 2b 2b | 20 63 6f 64 65 20 6f 66 | the C++| code of|
|000004d0| 20 74 68 65 20 63 6f 6d | 6d 6f 6e 20 63 6f 6d 70 | the com|mon comp|
|000004e0| 6c 65 78 20 63 6c 61 73 | 73 0d 0a 6c 69 62 72 61 |lex clas|s..libra|
|000004f0| 72 69 65 73 29 2e 0d 0a | 0d 0a 45 61 63 68 20 6f |ries)...|..Each o|
|00000500| 66 20 74 68 65 20 74 68 | 72 65 65 20 66 6c 6f 61 |f the th|ree floa|
|00000510| 74 69 6e 67 2d 70 6f 69 | 6e 74 20 61 63 63 75 72 |ting-poi|nt accur|
|00000520| 61 63 69 65 73 20 28 66 | 6c 6f 61 74 2c 20 64 6f |acies (f|loat, do|
|00000530| 75 62 6c 65 2c 20 61 6e | 64 20 65 78 74 65 6e 64 |uble, an|d extend|
|00000540| 65 64 29 0d 0a 69 73 20 | 67 69 76 65 6e 20 69 74 |ed)..is |given it|
|00000550| 73 20 6f 77 6e 2c 20 6f | 70 74 69 6d 69 7a 65 64 |s own, o|ptimized|
|00000560| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 65 61 63 68 | version| of each|
|00000570| 20 66 75 6e 63 74 69 6f | 6e 2e 0d 0a 0d 0a 0d 0a | functio|n.......|
|00000580| 32 2e 20 53 79 73 74 65 | 6d 20 72 65 71 75 69 72 |2. Syste|m requir|
|00000590| 65 6d 65 6e 74 73 0d 0a | 2d 2d 2d 2d 2d 2d 2d 2d |ements..|--------|
|000005a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0a |--------|------..|
|000005b0| 54 68 69 73 20 76 65 72 | 73 69 6f 6e 20 6f 66 20 |This ver|sion of |
|000005c0| 43 4d 41 54 48 20 69 73 | 20 64 65 73 69 67 6e 65 |CMATH is| designe|
|000005d0| 64 20 66 6f 72 20 49 42 | 4d 20 41 54 2c 20 50 53 |d for IB|M AT, PS|
|000005e0| 2f 32 20 6f 72 20 63 6f | 6d 70 61 74 69 62 6c 65 |/2 or co|mpatible|
|000005f0| 73 2c 0d 0a 65 71 75 69 | 70 70 65 64 20 61 74 20 |s,..equi|pped at |
|00000600| 6c 65 61 73 74 20 77 69 | 74 68 20 61 20 38 30 33 |least wi|th a 803|
|00000610| 38 36 20 43 50 55 20 61 | 6e 64 20 61 20 38 30 33 |86 CPU a|nd a 803|
|00000620| 38 37 20 63 6f 70 72 6f | 63 65 73 73 6f 72 2e 0d |87 copro|cessor..|
|00000630| 0a 46 6f 72 20 42 6f 72 | 6c 61 6e 64 20 43 2b 2b |.For Bor|land C++|
|00000640| 20 28 54 75 72 62 6f 20 | 43 2b 2b 29 2c 20 76 65 | (Turbo |C++), ve|
|00000650| 72 73 69 6f 6e 20 33 2e | 30 20 6f 72 20 68 69 67 |rsion 3.|0 or hig|
|00000660| 68 65 72 2c 20 6d 65 6d | 6f 72 79 20 6d 6f 64 65 |her, mem|ory mode|
|00000670| 6c 73 20 57 69 6e 33 32 | 2c 0d 0a 57 69 6e 64 6f |ls Win32|,..Windo|
|00000680| 77 73 2d 4c 41 52 47 45 | 2c 20 6f 72 20 20 44 4f |ws-LARGE|, or DO|
|00000690| 53 2d 4c 41 52 47 45 20 | 28 64 65 70 65 6e 64 69 |S-LARGE |(dependi|
|000006a0| 6e 67 20 6f 6e 20 63 68 | 6f 69 63 65 20 77 68 65 |ng on ch|oice whe|
|000006b0| 6e 20 6f 72 64 65 72 69 | 6e 67 20 6f 72 0d 0a 64 |n orderi|ng or..d|
|000006c0| 6f 77 6e 6c 6f 61 64 69 | 6e 67 29 2e 0d 0a 52 65 |ownloadi|ng)...Re|
|000006d0| 67 69 73 74 65 72 65 64 | 20 76 65 72 73 69 6f 6e |gistered| version|
|000006e0| 3a 20 61 6c 6c 20 6d 65 | 6d 6f 72 79 20 6d 6f 64 |: all me|mory mod|
|000006f0| 65 6c 73 3b 20 73 65 70 | 61 72 61 74 65 20 6c 69 |els; sep|arate li|
|00000700| 62 72 61 72 69 65 73 20 | 6f 70 74 69 6d 69 7a 65 |braries |optimize|
|00000710| 64 20 66 6f 72 0d 0a 61 | 6c 6c 20 70 72 6f 63 65 |d for..a|ll proce|
|00000720| 73 73 6f 72 73 20 66 72 | 6f 6d 20 34 38 36 44 58 |ssors fr|om 486DX|
|00000730| 2f 50 65 6e 74 69 75 6d | 20 64 6f 77 6e 20 74 6f |/Pentium| down to|
|00000740| 20 32 38 36 20 77 69 74 | 68 20 6f 72 20 77 69 74 | 286 wit|h or wit|
|00000750| 68 6f 75 74 20 63 6f 70 | 72 6f 63 65 73 73 6f 72 |hout cop|rocessor|
|00000760| 2e 0d 0a 0d 0a 0d 0a 33 | 2e 20 49 6e 73 74 61 6c |.......3|. Instal|
|00000770| 6c 61 74 69 6f 6e 0d 0a | 2d 2d 2d 2d 2d 2d 2d 2d |lation..|--------|
|00000780| 2d 2d 2d 2d 2d 2d 2d 0d | 0a 50 6c 65 61 73 65 20 |-------.|.Please |
|00000790| 72 75 6e 20 74 68 65 20 | 69 6e 73 74 61 6c 6c 61 |run the |installa|
|000007a0| 74 69 6f 6e 20 70 72 6f | 67 72 61 6d 20 49 4e 53 |tion pro|gram INS|
|000007b0| 54 41 4c 4c 2e 45 58 45 | 2e 20 49 66 20 61 6e 79 |TALL.EXE|. If any|
|000007c0| 74 68 69 6e 67 20 67 6f | 65 73 20 77 72 6f 6e 67 |thing go|es wrong|
|000007d0| 2c 0d 0a 79 6f 75 20 6d | 61 79 20 74 72 79 20 74 |,..you m|ay try t|
|000007e0| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 3a 0d 0a 20 |he follo|wing:.. |
|000007f0| 20 20 61 29 20 43 72 65 | 61 74 65 20 74 68 65 20 | a) Cre|ate the |
|00000800| 64 69 72 65 63 74 6f 72 | 79 20 77 68 65 72 65 20 |director|y where |
|00000810| 79 6f 75 20 77 61 6e 74 | 20 43 4d 41 54 48 20 74 |you want| CMATH t|
|00000820| 6f 20 72 65 73 69 64 65 | 2e 0d 0a 20 20 20 62 29 |o reside|... b)|
|00000830| 20 4d 61 6e 75 61 6c 6c | 79 20 75 6e 7a 69 70 20 | Manuall|y unzip |
|00000840| 74 68 65 20 66 69 6c 65 | 20 44 4f 43 2e 5a 49 50 |the file| DOC.ZIP|
|00000850| 20 69 6e 74 6f 20 69 74 | 2e 0d 0a 20 20 20 63 29 | into it|... c)|
|00000860| 20 43 72 65 61 74 65 20 | 61 20 73 75 62 2d 64 69 | Create |a sub-di|
|00000870| 72 65 63 74 6f 72 79 20 | 2f 4c 49 42 20 61 6e 64 |rectory |/LIB and|
|00000880| 20 75 6e 7a 69 70 20 74 | 68 65 20 66 69 6c 65 20 | unzip t|he file |
|00000890| 4c 49 42 2e 5a 49 50 20 | 69 6e 74 6f 20 69 74 2e |LIB.ZIP |into it.|
|000008a0| 0d 0a 20 20 20 64 29 20 | 43 72 65 61 74 65 20 61 |.. d) |Create a|
|000008b0| 20 73 75 62 2d 64 69 72 | 65 63 74 6f 72 79 20 2f | sub-dir|ectory /|
|000008c0| 49 4e 43 4c 55 44 45 20 | 61 6e 64 20 75 6e 7a 69 |INCLUDE |and unzi|
|000008d0| 70 20 74 68 65 20 66 69 | 6c 65 20 49 4e 43 4c 55 |p the fi|le INCLU|
|000008e0| 44 45 2e 5a 49 50 20 69 | 6e 74 6f 20 69 74 2e 0d |DE.ZIP i|nto it..|
|000008f0| 0a 49 66 20 79 6f 75 20 | 64 6f 6e 27 74 20 73 75 |.If you |don't su|
|00000900| 63 63 65 65 64 20 74 68 | 61 74 20 77 61 79 2c 20 |cceed th|at way, |
|00000910| 79 6f 75 20 70 72 6f 62 | 61 62 6c 79 20 67 6f 74 |you prob|ably got|
|00000920| 20 61 20 63 6f 72 72 75 | 70 74 65 64 20 64 6f 77 | a corru|pted dow|
|00000930| 6e 6c 6f 61 64 2e 0d 0a | 50 6c 65 61 73 65 20 64 |nload...|Please d|
|00000940| 6f 77 6e 6c 6f 61 64 20 | 61 67 61 69 6e 2e 20 49 |ownload |again. I|
|00000950| 66 20 65 76 65 6e 20 74 | 68 61 74 20 64 6f 65 73 |f even t|hat does|
|00000960| 20 6e 6f 74 20 68 65 6c | 70 2c 20 70 6c 65 61 73 | not hel|p, pleas|
|00000970| 65 20 63 6f 6e 74 61 63 | 74 3a 0d 0a 4d 61 72 74 |e contac|t:..Mart|
|00000980| 69 6e 53 61 6e 64 65 72 | 40 42 69 67 66 6f 6f 74 |inSander|@Bigfoot|
|00000990| 2e 63 6f 6d 2e 0d 0a 0d | 0a 41 66 74 65 72 20 79 |.com....|.After y|
|000009a0| 6f 75 20 63 6f 6d 70 6c | 65 74 65 64 20 74 68 65 |ou compl|eted the|
|000009b0| 20 69 6e 73 74 61 6c 6c | 61 74 69 6f 6e 2c 20 79 | install|ation, y|
|000009c0| 6f 75 20 6d 75 73 74 20 | 73 65 74 20 74 68 65 20 |ou must |set the |
|000009d0| 6c 69 62 72 61 72 79 20 | 73 65 61 72 63 68 20 70 |library |search p|
|000009e0| 61 74 68 0d 0a 61 6e 64 | 20 74 68 65 20 69 6e 63 |ath..and| the inc|
|000009f0| 6c 75 64 65 2d 66 69 6c | 65 20 73 65 61 72 63 68 |lude-fil|e search|
|00000a00| 20 70 61 74 68 20 61 63 | 63 6f 72 64 69 6e 67 20 | path ac|cording |
|00000a10| 74 6f 20 79 6f 75 72 20 | 43 4d 41 54 48 20 64 69 |to your |CMATH di|
|00000a20| 72 65 63 74 6f 72 79 20 | 63 68 6f 69 63 65 3a 0d |rectory |choice:.|
|00000a30| 0a 41 64 64 20 74 68 65 | 73 65 20 70 61 74 68 73 |.Add the|se paths|
|00000a40| 20 74 6f 20 74 68 65 20 | 73 74 61 6e 64 61 72 64 | to the |standard|
|00000a50| 20 73 65 74 74 69 6e 67 | 73 20 69 6e 20 74 68 65 | setting|s in the|
|00000a60| 20 6d 65 6e 75 0d 0a 22 | 4f 70 74 69 6f 6e 73 2f | menu.."|Options/|
|00000a70| 50 72 6f 6a 65 63 74 2f | 44 69 72 65 63 74 6f 72 |Project/|Director|
|00000a80| 69 65 73 22 20 6f 66 20 | 42 6f 72 6c 61 6e 64 20 |ies" of |Borland |
|00000a90| 43 20 34 2e 78 20 61 6e | 64 20 35 2e 78 2c 20 6f |C 4.x an|d 5.x, o|
|00000aa0| 72 0d 0a 22 4f 70 74 69 | 6f 6e 73 2f 44 69 72 65 |r.."Opti|ons/Dire|
|00000ab0| 63 74 6f 72 69 65 73 22 | 20 69 6e 20 42 6f 72 6c |ctories"| in Borl|
|00000ac0| 61 6e 64 20 43 2b 2b 20 | 33 2e 78 2e 0d 0a 28 52 |and C++ |3.x...(R|
|00000ad0| 65 6d 65 6d 62 65 72 3a | 20 61 20 73 65 6d 69 63 |emember:| a semic|
|00000ae0| 6f 6c 6f 6e 20 69 73 20 | 75 73 65 64 20 74 6f 20 |olon is |used to |
|00000af0| 73 65 70 61 72 61 74 65 | 20 65 6e 74 72 69 65 73 |separate| entries|
|00000b00| 20 69 6e 20 74 68 65 73 | 65 20 66 69 65 6c 64 73 | in thes|e fields|
|00000b10| 2e 29 0d 0a 0d 0a 0d 0a | 34 2e 20 52 75 6e 6e 69 |.)......|4. Runni|
|00000b20| 6e 67 20 74 68 65 20 65 | 78 61 6d 70 6c 65 0d 0a |ng the e|xample..|
|00000b30| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000b40| 2d 2d 2d 2d 2d 2d 0d 0a | 43 68 65 63 6b 20 79 6f |------..|Check yo|
|00000b50| 75 72 20 69 6e 73 74 61 | 6c 6c 61 74 69 6f 6e 20 |ur insta|llation |
|00000b60| 62 79 20 63 6f 6d 70 69 | 6c 69 6e 67 20 61 6e 64 |by compi|ling and|
|00000b70| 20 72 75 6e 6e 69 6e 67 | 20 43 44 45 4d 4f 2e 43 | running| CDEMO.C|
|00000b80| 50 50 2e 20 46 6f 6c 6c | 6f 77 20 74 68 65 0d 0a |PP. Foll|ow the..|
|00000b90| 69 6e 73 74 72 75 63 74 | 69 6f 6e 73 20 69 6e 20 |instruct|ions in |
|00000ba0| 74 68 65 20 68 65 61 64 | 65 72 20 6f 66 20 74 68 |the head|er of th|
|00000bb0| 61 74 20 66 69 6c 65 2e | 0d 0a 49 66 20 79 6f 75 |at file.|..If you|
|00000bc0| 20 67 65 74 20 63 6f 6d | 70 69 6c 65 72 20 65 72 | get com|piler er|
|00000bd0| 72 6f 72 73 20 6c 69 6b | 65 20 22 43 61 6e 6e 6f |rors lik|e "Canno|
|00000be0| 74 20 6f 70 65 6e 20 69 | 6e 63 6c 75 64 65 20 66 |t open i|nclude f|
|00000bf0| 69 6c 65 20 2e 2e 2e 22 | 2c 20 6f 72 20 61 0d 0a |ile ..."|, or a..|
|00000c00| 6c 69 6e 6b 65 72 20 65 | 72 72 6f 72 20 22 55 6e |linker e|rror "Un|
|00000c10| 72 65 73 6f 6c 76 65 64 | 20 65 78 74 65 72 6e 61 |resolved| externa|
|00000c20| 6c 22 2c 20 79 6f 75 20 | 70 72 6f 62 61 62 6c 79 |l", you |probably|
|00000c30| 20 64 69 64 20 6e 6f 74 | 20 73 65 74 20 74 68 65 | did not| set the|
|00000c40| 20 6c 69 62 72 61 72 79 | 0d 0a 61 6e 64 20 69 6e | library|..and in|
|00000c50| 63 6c 75 64 65 20 70 61 | 74 68 73 20 63 6f 72 72 |clude pa|ths corr|
|00000c60| 65 63 74 6c 79 2e 0d 0a | 0d 0a 0d 0a 35 2e 20 44 |ectly...|....5. D|
|00000c70| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 0d 0a 2d 2d |ocumenta|tion..--|
|00000c80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0a |--------|------..|
|00000c90| 54 68 65 20 66 75 6c 6c | 20 43 4d 41 54 48 20 64 |The full| CMATH d|
|00000ca0| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 69 73 20 |ocumenta|tion is |
|00000cb0| 74 6f 20 62 65 20 66 6f | 75 6e 64 20 69 6e 20 74 |to be fo|und in t|
|00000cc0| 68 65 20 66 69 6c 65 20 | 43 4d 41 54 48 2e 54 58 |he file |CMATH.TX|
|00000cd0| 54 20 61 73 0d 0a 41 53 | 43 49 49 20 74 65 78 74 |T as..AS|CII text|
|00000ce0| 2e 20 49 66 20 79 6f 75 | 20 77 61 6e 74 20 74 6f |. If you| want to|
|00000cf0| 20 6c 6f 61 64 20 74 68 | 65 20 64 6f 63 75 6d 65 | load th|e docume|
|00000d00| 6e 74 61 74 69 6f 6e 20 | 69 6e 74 6f 20 61 20 77 |ntation |into a w|
|00000d10| 6f 72 64 20 70 72 6f 63 | 65 73 73 6f 72 0d 0a 75 |ord proc|essor..u|
|00000d20| 6e 64 65 72 20 57 69 6e | 64 6f 77 73 2c 20 79 6f |nder Win|dows, yo|
|00000d30| 75 20 6d 75 73 74 20 75 | 73 65 20 74 68 65 20 66 |u must u|se the f|
|00000d40| 69 6c 74 65 72 20 22 41 | 53 43 49 49 20 74 65 78 |ilter "A|SCII tex|
|00000d50| 74 22 20 6f 72 20 22 4d | 53 20 44 4f 53 20 74 65 |t" or "M|S DOS te|
|00000d60| 78 74 22 2e 0d 0a 0d 0a | 36 2e 20 43 6f 70 79 72 |xt".....|6. Copyr|
|00000d70| 69 67 68 74 0d 0a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ight..--|--------|
|00000d80| 2d 2d 0d 0a 54 68 65 20 | 63 6f 70 79 72 69 67 68 |--..The |copyrigh|
|00000d90| 74 20 6f 77 6e 65 72 20 | 6f 66 20 74 68 69 73 20 |t owner |of this |
|00000da0| 70 72 6f 64 75 63 74 20 | 61 73 20 61 20 77 68 6f |product |as a who|
|00000db0| 6c 65 20 61 6e 64 20 6f | 66 20 61 6c 6c 20 69 74 |le and o|f all it|
|00000dc0| 73 20 63 6f 6e 73 74 69 | 74 75 65 6e 74 0d 0a 70 |s consti|tuent..p|
|00000dd0| 61 72 74 73 20 69 73 0d | 0a 20 20 20 20 20 20 20 |arts is.|. |
|00000de0| 20 20 44 72 2e 20 4d 61 | 72 74 69 6e 20 53 61 6e | Dr. Ma|rtin San|
|00000df0| 64 65 72 20 53 6f 66 74 | 77 61 72 65 20 44 65 76 |der Soft|ware Dev|
|00000e00| 65 6c 6f 70 6d 65 6e 74 | 0d 0a 20 20 20 20 20 20 |elopment|.. |
|00000e10| 20 20 20 53 65 72 74 75 | 72 6e 65 72 73 74 72 2e | Sertu|rnerstr.|
|00000e20| 20 31 31 0d 0a 20 20 20 | 20 20 20 20 20 20 44 2d | 11.. | D-|
|00000e30| 33 37 30 38 35 20 47 6f | 65 74 74 69 6e 67 65 6e |37085 Go|ettingen|
|00000e40| 0d 0a 20 20 20 20 20 20 | 20 20 20 47 65 72 6d 61 |.. | Germa|
|00000e50| 6e 79 0d 0a 20 20 20 20 | 20 20 20 20 20 65 2d 6d |ny.. | e-m|
|00000e60| 61 69 6c 3a 20 4d 61 72 | 74 69 6e 53 61 6e 64 65 |ail: Mar|tinSande|
|00000e70| 72 40 42 69 67 66 6f 6f | 74 2e 63 6f 6d 0d 0a 20 |r@Bigfoo|t.com.. |
|00000e80| 20 20 20 20 20 20 20 20 | 68 74 74 70 3a 2f 2f 77 | |http://w|
|00000e90| 77 77 2e 6f 70 74 69 76 | 65 63 2e 63 6f 6d 0d 0a |ww.optiv|ec.com..|
|00000ea0| 0d 0a 54 68 69 73 20 53 | 68 61 72 65 77 61 72 65 |..This S|hareware|
|00000eb0| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 43 4d 41 54 | version| of CMAT|
|00000ec0| 48 20 69 73 20 66 72 65 | 65 6c 79 20 64 69 73 74 |H is fre|ely dist|
|00000ed0| 72 69 62 75 74 61 62 6c | 65 20 69 6e 20 75 6e 63 |ributabl|e in unc|
|00000ee0| 68 61 6e 67 65 64 20 66 | 6f 72 6d 2e 0d 0a 46 6f |hanged f|orm...Fo|
|00000ef0| 72 20 74 68 65 20 64 69 | 73 74 72 69 62 75 74 69 |r the di|stributi|
|00000f00| 6f 6e 20 6f 66 20 61 70 | 70 6c 69 63 61 74 69 6f |on of ap|plicatio|
|00000f10| 6e 73 20 63 72 65 61 74 | 65 64 20 75 73 69 6e 67 |ns creat|ed using|
|00000f20| 20 43 4d 41 54 48 2c 20 | 79 6f 75 20 6e 65 65 64 | CMATH, |you need|
|00000f30| 20 74 68 65 0d 0a 72 65 | 67 69 73 74 65 72 65 64 | the..re|gistered|
|00000f40| 20 76 65 72 73 69 6f 6e | 2e 20 54 68 65 20 64 65 | version|. The de|
|00000f50| 74 61 69 6c 65 64 20 6c | 69 63 65 6e 63 65 20 63 |tailed l|icence c|
|00000f60| 6f 6e 64 69 74 69 6f 6e | 73 20 61 72 65 20 64 65 |ondition|s are de|
|00000f70| 73 63 72 69 62 65 64 20 | 69 6e 0d 0a 63 68 61 70 |scribed |in..chap|
|00000f80| 74 65 72 20 31 2e 32 20 | 6f 66 20 74 68 65 20 66 |ter 1.2 |of the f|
|00000f90| 69 6c 65 20 43 4d 41 54 | 48 2e 54 58 54 2e 0d 0a |ile CMAT|H.TXT...|
|00000fa0| 0d 0a 0d 0a 37 2e 20 52 | 65 67 69 73 74 65 72 65 |....7. R|egistere|
|00000fb0| 64 20 56 65 72 73 69 6f | 6e 0d 0a 2d 2d 2d 2d 2d |d Versio|n..-----|
|00000fc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000fd0| 0d 0a 49 66 20 79 6f 75 | 20 6c 69 6b 65 20 43 4d |..If you| like CM|
|00000fe0| 41 54 48 20 61 6e 64 20 | 64 65 63 69 64 65 20 74 |ATH and |decide t|
|00000ff0| 6f 20 75 73 65 20 69 74 | 2c 20 70 6c 65 61 73 65 |o use it|, please|
|00001000| 20 62 65 20 66 61 69 72 | 20 61 6e 64 20 72 65 67 | be fair| and reg|
|00001010| 69 73 74 65 72 2e 0d 0a | 54 68 65 20 72 65 67 69 |ister...|The regi|
|00001020| 73 74 65 72 65 64 20 76 | 65 72 73 69 6f 6e 20 6f |stered v|ersion o|
|00001030| 66 20 43 4d 41 54 48 0d | 0a 0d 0a 2d 20 20 73 75 |f CMATH.|...- su|
|00001040| 70 70 6f 72 74 73 20 61 | 6c 6c 20 6d 65 6d 6f 72 |pports a|ll memor|
|00001050| 79 20 6d 6f 64 65 6c 73 | 20 6f 66 20 57 69 6e 64 |y models| of Wind|
|00001060| 6f 77 73 39 35 2c 20 4e | 54 2c 20 33 2e 78 2c 20 |ows95, N|T, 3.x, |
|00001070| 61 6e 64 20 44 4f 53 0d | 0a 20 20 20 28 69 6e 63 |and DOS.|. (inc|
|00001080| 6c 75 64 69 6e 67 20 74 | 68 65 20 33 32 2d 62 69 |luding t|he 32-bi|
|00001090| 74 20 6d 6f 64 65 6c 20 | 46 4c 41 54 29 2e 0d 0a |t model |FLAT)...|
|000010a0| 0d 0a 2d 20 20 68 61 73 | 20 69 6e 64 69 76 69 64 |..- has| individ|
|000010b0| 75 61 6c 6c 79 20 6f 70 | 74 69 6d 69 7a 65 64 20 |ually op|timized |
|000010c0| 6c 69 62 72 61 72 69 65 | 73 20 66 6f 72 20 65 61 |librarie|s for ea|
|000010d0| 63 68 20 64 65 67 72 65 | 65 20 6f 66 20 70 72 6f |ch degre|e of pro|
|000010e0| 63 65 73 73 6f 72 0d 0a | 20 20 20 62 61 63 6b 77 |cessor..| backw|
|000010f0| 61 72 64 2d 63 6f 6d 70 | 61 74 69 62 69 6c 69 74 |ard-comp|atibilit|
|00001100| 79 3a 0d 0a 20 20 20 20 | 20 20 34 38 36 44 58 2f |y:.. | 486DX/|
|00001110| 50 65 6e 74 69 75 6d 2b | 0d 0a 20 20 20 20 20 20 |Pentium+|.. |
|00001120| 33 38 36 2b 20 28 33 38 | 37 20 63 6f 70 72 6f 63 |386+ (38|7 coproc|
|00001130| 65 73 73 6f 72 20 72 65 | 71 75 69 72 65 64 29 0d |essor re|quired).|
|00001140| 0a 20 20 20 20 20 20 32 | 38 36 2b 20 28 6e 6f 20 |. 2|86+ (no |
|00001150| 63 6f 70 72 6f 63 65 73 | 73 6f 72 20 72 65 71 75 |coproces|sor requ|
|00001160| 69 72 65 64 29 2e 0d 0a | 0d 0a 2d 20 20 63 6f 6d |ired)...|..- com|
|00001170| 65 73 20 77 69 74 68 20 | 70 72 69 6e 74 65 64 20 |es with |printed |
|00001180| 64 6f 63 75 6d 65 6e 74 | 61 74 69 6f 6e 2e 0d 0a |document|ation...|
|00001190| 0d 0a 2d 20 20 63 6f 73 | 74 73 20 55 53 44 20 36 |..- cos|ts USD 6|
|000011a0| 30 20 61 6e 64 20 63 61 | 6e 20 62 65 20 6f 72 64 |0 and ca|n be ord|
|000011b0| 65 72 65 64 0d 0a 20 20 | 20 62 79 20 65 2d 6d 61 |ered.. | by e-ma|
|000011c0| 69 6c 20 66 72 6f 6d 20 | 74 68 65 20 61 75 74 68 |il from |the auth|
|000011d0| 6f 72 20 6f 72 20 74 68 | 72 6f 75 67 68 20 74 68 |or or th|rough th|
|000011e0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 77 65 62 2d |e follow|ing web-|
|000011f0| 73 69 74 65 73 3a 0d 0a | 0d 0a 20 20 20 68 74 74 |sites:..|.. htt|
|00001200| 70 3a 2f 2f 77 77 77 2e | 61 74 6c 61 6e 74 69 63 |p://www.|atlantic|
|00001210| 2d 63 6f 61 73 74 2e 63 | 6f 6d 2f 63 67 69 2d 62 |-coast.c|om/cgi-b|
|00001220| 69 6e 2f 73 65 6c 6c 6f | 6e 6c 69 6e 65 2f 31 33 |in/sello|nline/13|
|00001230| 36 2e 68 74 6d 0d 0a 20 | 20 20 68 74 74 70 3a 2f |6.htm.. | http:/|
|00001240| 2f 77 77 77 2e 73 68 61 | 72 65 69 74 2e 63 6f 6d |/www.sha|reit.com|
|00001250| 2f 70 72 6f 67 72 61 6d | 73 2f 31 30 31 33 35 33 |/program|s/101353|
|00001260| 2e 68 74 6d 0d 0a 0d 0a | 53 65 65 20 63 68 61 70 |.htm....|See chap|
|00001270| 74 65 72 20 31 2e 33 20 | 6f 66 20 74 68 65 20 66 |ter 1.3 |of the f|
|00001280| 69 6c 65 20 43 4d 41 54 | 48 2e 54 58 54 20 66 6f |ile CMAT|H.TXT fo|
|00001290| 72 20 64 65 74 61 69 6c | 73 20 61 62 6f 75 74 20 |r detail|s about |
|000012a0| 6f 72 64 65 72 69 6e 67 | 2e 0d 0a 0d 0a 0d 0a 20 |ordering|....... |
|000012b0| 20 20 20 2a 20 2a 20 2a | 20 2a 20 2a 20 2a 20 2a | * * *| * * * *|
|000012c0| 20 2a 20 2a 20 2a 20 2a | 20 2a 20 2a 20 2a 20 2a | * * * *| * * * *|
|000012d0| 20 2a 20 2a 20 2a 20 2a | 20 2a 20 2a 20 2a 20 2a | * * * *| * * * *|
|000012e0| 20 2a 20 2a 20 2a 20 2a | 20 2a 20 2a 20 2a 20 2a | * * * *| * * * *|
|000012f0| 0d 0a 50 4b 03 04 0a 00 | 00 00 00 00 20 0b 55 25 |..PK....|.... .U%|
|00001300| bd 26 ff f5 1b 92 00 00 | 1b 92 00 00 09 00 00 00 |.&......|........|
|00001310| 43 4d 41 54 48 2e 54 58 | 54 20 20 20 20 43 43 43 |CMATH.TX|T CCC|
|00001320| 43 43 43 43 20 20 20 20 | 20 4d 4d 20 20 20 20 20 |CCCC | MM |
|00001330| 20 20 20 20 4d 4d 20 20 | 20 20 20 20 20 20 20 20 | MM | |
|00001340| 41 20 20 20 20 20 20 20 | 20 20 54 54 54 54 54 54 |A | TTTTTT|
|00001350| 54 54 54 54 20 20 20 20 | 48 48 20 20 20 20 20 20 |TTTT |HH |
|00001360| 48 48 0d 0a 20 20 43 43 | 20 20 20 20 20 20 20 20 |HH.. CC| |
|00001370| 20 20 20 20 4d 4d 4d 20 | 20 20 20 20 20 20 4d 4d | MMM | MM|
|00001380| 4d 20 20 20 20 20 20 20 | 20 20 41 41 41 20 20 20 |M | AAA |
|00001390| 20 20 20 20 20 20 20 20 | 20 54 54 20 20 20 20 20 | | TT |
|000013a0| 20 20 20 48 48 20 20 20 | 20 20 20 48 48 0d 0a 20 | HH | HH.. |
|000013b0| 43 43 43 20 20 20 20 20 | 20 20 20 20 20 20 20 4d |CCC | M|
|000013c0| 4d 4d 4d 20 20 20 20 20 | 4d 4d 4d 4d 20 20 20 20 |MMM |MMMM |
|000013d0| 20 20 20 20 41 41 20 41 | 41 20 20 20 20 20 20 20 | AA A|A |
|000013e0| 20 20 20 20 54 54 20 20 | 20 20 20 20 20 20 48 48 | TT | HH|
|000013f0| 20 20 20 20 20 20 48 48 | 0d 0a 20 43 43 43 20 20 | HH|.. CCC |
|00001400| 20 20 20 20 20 20 20 20 | 20 20 4d 4d 20 4d 4d 20 | | MM MM |
|00001410| 20 20 4d 4d 20 4d 4d 20 | 20 20 20 20 20 20 41 41 | MM MM | AA|
|00001420| 20 20 20 41 41 20 20 20 | 20 20 20 20 20 20 20 54 | AA | T|
|00001430| 54 20 20 20 20 20 20 20 | 20 48 48 48 48 48 48 48 |T | HHHHHHH|
|00001440| 48 48 48 0d 0a 20 43 43 | 43 20 20 20 20 20 20 20 |HHH.. CC|C |
|00001450| 20 20 20 20 20 4d 4d 20 | 20 4d 4d 20 4d 4d 20 20 | MM | MM MM |
|00001460| 4d 4d 20 20 20 20 20 20 | 41 41 41 41 41 41 41 41 |MM |AAAAAAAA|
|00001470| 41 20 20 20 20 20 20 20 | 20 20 54 54 20 20 20 20 |A | TT |
|00001480| 20 20 20 20 48 48 20 20 | 20 20 20 20 48 48 0d 0a | HH | HH..|
|00001490| 20 20 43 43 20 20 20 20 | 20 20 20 20 20 20 20 20 | CC | |
|000014a0| 4d 4d 20 20 20 4d 4d 4d | 20 20 20 4d 4d 20 20 20 |MM MMM| MM |
|000014b0| 20 20 41 41 20 20 20 20 | 20 20 20 41 41 20 20 20 | AA | AA |
|000014c0| 20 20 20 20 20 54 54 20 | 20 20 20 20 20 20 20 48 | TT | H|
|000014d0| 48 20 20 20 20 20 20 48 | 48 0d 0a 20 20 20 20 43 |H H|H.. C|
|000014e0| 43 43 43 43 43 43 20 20 | 20 20 20 4d 4d 20 20 20 |CCCCCC | MM |
|000014f0| 20 4d 20 20 20 20 4d 4d | 20 20 20 20 41 41 20 20 | M MM| AA |
|00001500| 20 20 20 20 20 20 20 41 | 41 20 20 20 20 20 20 20 | A|A |
|00001510| 54 54 20 20 20 20 20 20 | 20 20 48 48 20 20 20 20 |TT | HH |
|00001520| 20 20 48 48 0d 0a 0d 0a | 0d 0a 20 20 20 20 20 20 | HH....|.. |
|00001530| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 43 4d | | CM|
|00001540| 41 54 48 20 31 2e 32 20 | 20 66 6f 72 20 42 6f 72 |ATH 1.2 | for Bor|
|00001550| 6c 61 6e 64 20 43 2b 2b | 0d 0a 20 20 20 20 20 20 |land C++|.. |
|00001560| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 28 | | (|
|00001570| 56 65 72 73 69 6f 6e 20 | 33 2e 30 20 6f 72 20 68 |Version |3.0 or h|
|00001580| 69 67 68 65 72 29 0d 0a | 0d 0a 20 20 20 20 20 20 |igher)..|.. |
|00001590| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 44 72 | | Dr|
|000015a0| 2e 20 4d 61 72 74 69 6e | 20 53 61 6e 64 65 72 20 |. Martin| Sander |
|000015b0| 53 6f 66 74 77 61 72 65 | 20 44 65 76 65 6c 6f 70 |Software| Develop|
|000015c0| 6d 65 6e 74 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |ment.. | |
|000015d0| 20 20 20 20 20 20 20 20 | 20 20 53 65 72 74 81 72 | | Sert.r|
|000015e0| 6e 65 72 73 74 72 2e 20 | 31 31 0d 0a 20 20 20 20 |nerstr. |11.. |
|000015f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001600| 44 2d 33 37 30 38 35 20 | 47 94 74 74 69 6e 67 65 |D-37085 |G.ttinge|
|00001610| 6e 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n.. | |
|00001620| 20 20 20 20 20 20 20 47 | 65 72 6d 61 6e 79 0d 0a | G|ermany..|
|00001630| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001640| 20 20 20 20 65 2d 6d 61 | 69 6c 3a 20 4d 61 72 74 | e-ma|il: Mart|
|00001650| 69 6e 53 61 6e 64 65 72 | 40 42 69 67 66 6f 6f 74 |inSander|@Bigfoot|
|00001660| 2e 63 6f 6d 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |.com.. | |
|00001670| 20 20 20 20 20 20 20 20 | 20 20 68 74 74 70 3a 2f | | http:/|
|00001680| 2f 77 77 77 2e 6f 70 74 | 69 76 65 63 2e 63 6f 6d |/www.opt|ivec.com|
|00001690| 0d 0a 0d 0a 46 6f 72 20 | 74 68 65 20 63 6f 6d 6d |....For |the comm|
|000016a0| 65 72 63 69 61 6c 20 76 | 65 72 73 69 6f 6e 2c 20 |ercial v|ersion, |
|000016b0| 70 6c 65 61 73 65 20 6f | 72 64 65 72 20 62 79 20 |please o|rder by |
|000016c0| 65 2d 6d 61 69 6c 20 6f | 72 20 74 68 72 6f 75 67 |e-mail o|r throug|
|000016d0| 68 20 6f 75 72 20 77 65 | 62 2d 73 69 74 65 21 0d |h our we|b-site!.|
|000016e0| 0a 0d 0a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |...*****|********|
|000016f0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001700| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001710| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001720| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001730| 0d 0a 0d 0a 21 21 20 20 | 20 20 20 54 68 69 73 20 |....!! | This |
|00001740| 69 73 20 61 6e 20 41 53 | 43 49 49 20 74 65 78 74 |is an AS|CII text|
|00001750| 20 66 69 6c 65 21 20 20 | 49 74 20 69 73 20 62 65 | file! |It is be|
|00001760| 73 74 20 76 69 65 77 65 | 64 20 77 69 74 68 20 61 |st viewe|d with a|
|00001770| 20 73 69 6d 70 6c 65 20 | 20 20 20 20 20 20 20 21 | simple | !|
|00001780| 21 0d 0a 21 21 20 20 20 | 20 20 44 4f 53 20 65 64 |!..!! | DOS ed|
|00001790| 69 74 6f 72 2e 20 20 20 | 20 20 20 20 20 20 20 20 |itor. | |
|000017a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000017c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 21 21 | | !!|
|000017d0| 0d 0a 21 21 20 20 20 20 | 20 49 66 20 79 6f 75 20 |..!! | If you |
|000017e0| 6c 6f 61 64 20 74 68 69 | 73 20 66 69 6c 65 20 69 |load thi|s file i|
|000017f0| 6e 74 6f 20 61 20 77 6f | 72 64 20 70 72 6f 63 65 |nto a wo|rd proce|
|00001800| 73 73 6f 72 20 75 6e 64 | 65 72 20 57 69 6e 64 6f |ssor und|er Windo|
|00001810| 77 73 2c 20 79 6f 75 20 | 20 20 20 20 20 21 21 0d |ws, you | !!.|
|00001820| 0a 21 21 20 20 20 20 20 | 6d 75 73 74 20 75 73 65 |.!! |must use|
|00001830| 20 74 68 65 20 66 69 6c | 74 65 72 20 22 44 4f 53 | the fil|ter "DOS|
|00001840| 20 74 65 78 74 22 2e 20 | 20 20 20 20 20 20 20 20 | text". | |
|00001850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001860| 20 20 20 20 20 20 20 20 | 20 20 20 20 21 21 0d 0a | | !!..|
|00001870| 21 21 20 20 20 20 20 41 | 6c 74 65 72 6e 61 74 69 |!! A|lternati|
|00001880| 76 65 6c 79 2c 20 79 6f | 75 20 6d 61 79 20 75 73 |vely, yo|u may us|
|00001890| 65 20 46 43 4f 4e 56 45 | 52 54 20 28 73 68 69 70 |e FCONVE|RT (ship|
|000018a0| 70 65 64 20 77 69 74 68 | 20 42 6f 72 6c 61 6e 64 |ped with| Borland|
|000018b0| 20 43 2b 2b 29 20 74 6f | 20 20 20 21 21 0d 0a 21 | C++) to| !!..!|
|000018c0| 21 20 20 20 20 20 63 6f | 6e 76 65 72 74 20 66 72 |! co|nvert fr|
|000018d0| 6f 6d 20 41 53 43 49 49 | 20 28 4f 45 4d 29 20 69 |om ASCII| (OEM) i|
|000018e0| 6e 74 6f 20 74 68 65 20 | 41 4e 53 49 20 63 68 61 |nto the |ANSI cha|
|000018f0| 72 61 63 74 65 72 20 73 | 65 74 2e 20 20 20 20 20 |racter s|et. |
|00001900| 20 20 20 20 20 20 20 20 | 20 20 21 21 0d 0a 21 21 | | !!..!!|
|00001910| 20 20 20 20 20 70 72 65 | 66 65 72 61 62 6c 79 20 | pre|ferably |
|00001920| 75 73 65 20 74 68 65 20 | 6c 65 74 74 65 72 74 79 |use the |letterty|
|00001930| 70 65 20 43 6f 75 72 69 | 65 72 4e 65 77 20 31 30 |pe Couri|erNew 10|
|00001940| 20 70 74 2e 20 20 20 20 | 20 20 20 20 20 20 20 20 | pt. | |
|00001950| 20 20 20 20 20 20 20 20 | 20 21 21 0d 0a 0d 0a 20 | | !!.... |
|00001960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001970| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001980| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001990| 2a 2a 2a 2a 2a 2a 0d 0a | 20 20 20 47 65 72 6d 61 |******..| Germa|
|000019a0| 6e 2d 73 70 65 61 6b 69 | 6e 67 20 75 73 65 72 73 |n-speaki|ng users|
|000019b0| 3a 0d 0a 20 20 20 20 20 | 20 20 55 6d 20 64 69 65 |:.. | Um die|
|000019c0| 20 4b 6f 73 74 65 6e 20 | 66 81 72 20 64 61 73 20 | Kosten |f.r das |
|000019d0| 48 65 72 75 6e 74 65 72 | 6c 61 64 65 6e 20 64 65 |Herunter|laden de|
|000019e0| 72 20 53 68 61 72 65 77 | 61 72 65 2d 56 65 72 73 |r Sharew|are-Vers|
|000019f0| 69 6f 6e 0d 0a 20 20 20 | 20 20 20 20 81 62 65 72 |ion.. | .ber|
|00001a00| 20 64 61 73 20 49 6e 74 | 65 72 6e 65 74 20 66 81 | das Int|ernet f.|
|00001a10| 72 20 61 6c 6c 65 20 73 | 6f 20 67 65 72 69 6e 67 |r alle s|o gering|
|00001a20| 20 77 69 65 20 6d 94 67 | 6c 69 63 68 20 7a 75 20 | wie m.g|lich zu |
|00001a30| 68 61 6c 74 65 6e 2c 0d | 0a 20 20 20 20 20 20 20 |halten,.|. |
|00001a40| 65 6e 74 68 84 6c 74 20 | 64 69 65 73 65 20 6e 75 |enth.lt |diese nu|
|00001a50| 72 20 64 69 65 20 65 6e | 67 6c 69 73 63 68 65 20 |r die en|glische |
|00001a60| 44 6f 6b 75 6d 65 6e 74 | 61 74 69 6f 6e 2e 20 53 |Dokument|ation. S|
|00001a70| 69 65 20 66 69 6e 64 65 | 6e 0d 0a 20 20 20 20 20 |ie finde|n.. |
|00001a80| 20 20 64 69 65 20 64 65 | 75 74 73 63 68 65 20 42 | die de|utsche B|
|00001a90| 65 73 63 68 72 65 69 62 | 75 6e 67 20 73 65 70 61 |eschreib|ung sepa|
|00001aa0| 72 61 74 20 75 6e 74 65 | 72 0d 0a 20 20 20 20 20 |rat unte|r.. |
|00001ab0| 20 20 20 20 20 20 20 20 | 20 20 68 74 74 70 3a 2f | | http:/|
|00001ac0| 2f 77 77 77 2e 67 77 64 | 67 2e 64 65 2f 7e 6d 73 |/www.gwd|g.de/~ms|
|00001ad0| 61 6e 64 65 72 2f 44 6f | 77 6e 6c 6f 61 64 2f 42 |ander/Do|wnload/B|
|00001ae0| 43 2f 43 4d 44 4f 43 44 | 2e 5a 49 50 0d 0a 20 20 |C/CMDOCD|.ZIP.. |
|00001af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 2a | | *|
|00001b00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001b10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001b20| 2a 2a 2a 2a 2a 0d 0a 0d | 0a 4f 70 74 69 43 6f 64 |*****...|.OptiCod|
|00001b30| 65 20 28 54 4d 29 20 61 | 6e 64 20 4f 70 74 69 56 |e (TM) a|nd OptiV|
|00001b40| 65 63 20 28 54 4d 29 20 | 61 72 65 20 74 72 61 64 |ec (TM) |are trad|
|00001b50| 65 6d 61 72 6b 73 20 6f | 66 20 44 72 2e 20 4d 61 |emarks o|f Dr. Ma|
|00001b60| 72 74 69 6e 20 53 61 6e | 64 65 72 0d 0a 53 6f 66 |rtin San|der..Sof|
|00001b70| 74 77 61 72 65 20 44 65 | 76 2e 20 20 4f 74 68 65 |tware De|v. Othe|
|00001b80| 72 20 62 72 61 6e 64 20 | 61 6e 64 20 70 72 6f 64 |r brand |and prod|
|00001b90| 75 63 74 20 6e 61 6d 65 | 73 20 6d 65 6e 74 69 6f |uct name|s mentio|
|00001ba0| 6e 65 64 20 69 6e 20 74 | 68 69 73 20 68 61 6e 64 |ned in t|his hand|
|00001bb0| 62 6f 6f 6b 0d 0a 66 6f | 72 20 69 64 65 6e 74 69 |book..fo|r identi|
|00001bc0| 66 69 63 61 74 69 6f 6e | 20 70 75 72 70 6f 73 65 |fication| purpose|
|00001bd0| 73 20 61 72 65 20 74 72 | 61 64 65 6d 61 72 6b 73 |s are tr|ademarks|
|00001be0| 20 6f 72 20 72 65 67 69 | 73 74 65 72 65 64 20 74 | or regi|stered t|
|00001bf0| 72 61 64 65 6d 61 72 6b | 73 20 6f 66 0d 0a 74 68 |rademark|s of..th|
|00001c00| 65 69 72 20 72 65 73 70 | 65 63 74 69 76 65 20 68 |eir resp|ective h|
|00001c10| 6f 6c 64 65 72 73 2e 0d | 0a 0d 0a 0d 0a 2a 2a 2a |olders..|.....***|
|00001c20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001c30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001c40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001c50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001c60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 0d 0a 2a 20 20 20 20 |********|*..* |
|00001c70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c80| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cb0| 20 20 20 20 20 20 2a 0d | 0a 2a 2a 2a 2a 2a 2a 2a | *.|.*******|
|00001cc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001cd0| 20 20 20 20 20 20 20 20 | 20 20 20 43 6f 6e 74 65 | | Conte|
|00001ce0| 6e 74 73 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |nts | |
|00001cf0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 2a | | **|
|00001d00| 2a 2a 2a 2a 2a 0d 0a 2a | 20 20 20 20 20 20 20 20 |*****..*| |
|00001d10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d50| 20 20 2a 0d 0a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *..***|********|
|00001d60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001d70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001d80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001d90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00001da0| 2a 0d 0a 0d 0a 31 2e 20 | 49 6e 74 72 6f 64 75 63 |*....1. |Introduc|
|00001db0| 74 69 6f 6e 0d 0a 20 20 | 20 31 2e 31 20 57 68 61 |tion.. | 1.1 Wha|
|00001dc0| 74 20 69 73 20 43 4d 41 | 54 48 20 3f 0d 0a 20 20 |t is CMA|TH ?.. |
|00001dd0| 20 31 2e 32 20 4c 69 63 | 65 6e 63 65 20 54 65 72 | 1.2 Lic|ence Ter|
|00001de0| 6d 73 0d 0a 20 20 20 31 | 2e 33 20 52 65 67 69 73 |ms.. 1|.3 Regis|
|00001df0| 74 65 72 65 64 20 56 65 | 72 73 69 6f 6e 0d 0a 0d |tered Ve|rsion...|
|00001e00| 0a 32 2e 20 47 65 74 74 | 69 6e 67 20 53 74 61 72 |.2. Gett|ing Star|
|00001e10| 74 65 64 0d 0a 20 20 20 | 32 2e 31 20 49 6e 73 74 |ted.. |2.1 Inst|
|00001e20| 61 6c 6c 61 74 69 6f 6e | 0d 0a 20 20 20 32 2e 32 |allation|.. 2.2|
|00001e30| 20 44 65 2d 49 6e 73 74 | 61 6c 6c 61 74 69 6f 6e | De-Inst|allation|
|00001e40| 0d 0a 0d 0a 33 2e 20 4f | 76 65 72 76 69 65 77 20 |....3. O|verview |
|00001e50| 6f 76 65 72 20 74 68 65 | 20 46 75 6e 63 74 69 6f |over the| Functio|
|00001e60| 6e 73 20 6f 66 20 43 4d | 41 54 48 0d 0a 20 20 20 |ns of CM|ATH.. |
|00001e70| 33 2e 31 20 49 6e 69 74 | 69 61 6c 69 7a 61 74 69 |3.1 Init|ializati|
|00001e80| 6f 6e 20 6f 66 20 43 6f | 6d 70 6c 65 78 20 4e 75 |on of Co|mplex Nu|
|00001e90| 6d 62 65 72 73 0d 0a 20 | 20 20 33 2e 32 20 44 61 |mbers.. | 3.2 Da|
|00001ea0| 74 61 2d 54 79 70 65 20 | 49 6e 74 65 72 63 6f 6e |ta-Type |Intercon|
|00001eb0| 76 65 72 73 69 6f 6e 73 | 0d 0a 20 20 20 33 2e 33 |versions|.. 3.3|
|00001ec0| 20 42 61 73 69 63 20 43 | 6f 6d 70 6c 65 78 20 4f | Basic C|omplex O|
|00001ed0| 70 65 72 61 74 69 6f 6e | 73 0d 0a 20 20 20 33 2e |peration|s.. 3.|
|00001ee0| 34 20 41 72 69 74 68 6d | 65 74 69 63 20 4f 70 65 |4 Arithm|etic Ope|
|00001ef0| 72 61 74 69 6f 6e 73 0d | 0a 20 20 20 33 2e 35 20 |rations.|. 3.5 |
|00001f00| 4d 61 74 68 65 6d 61 74 | 69 63 61 6c 20 46 75 6e |Mathemat|ical Fun|
|00001f10| 63 74 69 6f 6e 73 0d 0a | 0d 0a 34 2e 20 45 72 72 |ctions..|..4. Err|
|00001f20| 6f 72 20 48 61 6e 64 6c | 69 6e 67 0d 0a 20 20 20 |or Handl|ing.. |
|00001f30| 34 2e 31 20 47 65 6e 65 | 72 61 6c 20 45 72 72 6f |4.1 Gene|ral Erro|
|00001f40| 72 20 48 61 6e 64 6c 69 | 6e 67 20 6f 66 20 43 6f |r Handli|ng of Co|
|00001f50| 6d 70 6c 65 78 20 46 75 | 6e 63 74 69 6f 6e 73 0d |mplex Fu|nctions.|
|00001f60| 0a 20 20 20 34 2e 32 20 | 41 64 76 61 6e 63 65 64 |. 4.2 |Advanced|
|00001f70| 20 45 72 72 6f 72 20 48 | 61 6e 64 6c 69 6e 67 3a | Error H|andling:|
|00001f80| 20 57 72 69 74 69 6e 67 | 20 4d 65 73 73 61 67 65 | Writing| Message|
|00001f90| 73 20 69 6e 74 6f 20 61 | 20 46 69 6c 65 0d 0a 0d |s into a| File...|
|00001fa0| 0a 35 2e 20 53 79 6e 74 | 61 78 20 52 65 66 65 72 |.5. Synt|ax Refer|
|00001fb0| 65 6e 63 65 0d 0a 20 20 | 20 35 2e 31 20 43 2b 2b |ence.. | 5.1 C++|
|00001fc0| 20 56 65 72 73 69 6f 6e | 0d 0a 20 20 20 35 2e 32 | Version|.. 5.2|
|00001fd0| 20 50 6c 61 69 6e 2d 43 | 20 56 65 72 73 69 6f 6e | Plain-C| Version|
|00001fe0| 0d 0a 0d 0a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |....****|********|
|00001ff0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002000| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002010| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002020| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002030| 0d 0a 2a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |..* | |
|00002040| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002050| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002060| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002070| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 0d 0a | | *..|
|00002080| 2a 2a 2a 2a 2a 2a 2a 20 | 20 20 20 20 20 20 20 20 |******* | |
|00002090| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 31 2e | | 1.|
|000020a0| 20 49 6e 74 72 6f 64 75 | 63 74 69 6f 6e 20 20 20 | Introdu|ction |
|000020b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020c0| 20 20 20 20 20 2a 2a 2a | 2a 2a 2a 2a 0d 0a 2a 20 | ***|****..* |
|000020d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000020f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002100| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002110| 20 20 20 20 20 20 20 20 | 20 2a 0d 0a 2a 2a 2a 2a | | *..****|
|00002120| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002130| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002140| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002150| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 0d 0a 0d 0a 0d 0a 31 |********|*......1|
|00002170| 2e 31 20 57 68 61 74 20 | 69 73 20 43 4d 41 54 48 |.1 What |is CMATH|
|00002180| 20 3f 0d 0a 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | ?..----|--------|
|00002190| 2d 2d 2d 2d 2d 2d 2d 0d | 0a 0d 0a 43 4d 41 54 48 |-------.|...CMATH|
|000021a0| 20 69 73 20 61 20 63 6f | 6d 70 72 65 68 65 6e 73 | is a co|mprehens|
|000021b0| 69 76 65 20 6c 69 62 72 | 61 72 79 20 66 6f 72 20 |ive libr|ary for |
|000021c0| 63 6f 6d 70 6c 65 78 2d | 6e 75 6d 62 65 72 20 61 |complex-|number a|
|000021d0| 72 69 74 68 6d 65 74 69 | 73 20 61 6e 64 0d 0a 6d |rithmeti|s and..m|
|000021e0| 61 74 68 65 6d 61 74 69 | 63 73 2e 20 49 74 20 69 |athemati|cs. It i|
|000021f0| 73 20 70 72 69 6d 61 72 | 69 6c 79 20 69 6e 74 65 |s primar|ily inte|
|00002200| 6e 64 65 64 20 61 73 20 | 61 20 68 69 67 68 2d 71 |nded as |a high-q|
|00002210| 75 61 6c 69 74 79 20 72 | 65 70 6c 61 63 65 6d 65 |uality r|eplaceme|
|00002220| 6e 74 20 66 6f 72 0d 0a | 74 68 65 20 63 6f 6d 70 |nt for..|the comp|
|00002230| 6c 65 78 20 63 6c 61 73 | 73 20 6c 69 62 72 61 72 |lex clas|s librar|
|00002240| 69 65 73 20 6f 66 20 70 | 6f 70 75 6c 61 72 20 43 |ies of p|opular C|
|00002250| 2b 2b 20 63 6f 6d 70 69 | 6c 65 72 73 2e 20 49 6e |++ compi|lers. In|
|00002260| 20 61 64 64 69 74 69 6f | 6e 2c 0d 0a 61 6c 6c 20 | additio|n,..all |
|00002270| 66 75 6e 63 74 69 6f 6e | 73 20 6d 61 79 20 62 65 |function|s may be|
|00002280| 20 63 61 6c 6c 65 64 20 | 66 72 6f 6d 20 43 2c 20 | called |from C, |
|00002290| 77 69 74 68 6f 75 74 20 | 74 68 65 20 6e 65 63 65 |without |the nece|
|000022a0| 73 73 69 74 79 20 74 6f | 20 75 73 65 20 43 2b 2b |ssity to| use C++|
|000022b0| 2e 0d 0a 53 75 70 65 72 | 69 6f 72 20 73 70 65 65 |...Super|ior spee|
|000022c0| 64 2c 20 61 63 63 75 72 | 61 63 79 20 61 6e 64 20 |d, accur|acy and |
|000022d0| 73 61 66 65 74 79 20 61 | 72 65 20 61 63 68 69 65 |safety a|re achie|
|000022e0| 76 65 64 20 74 68 72 6f | 75 67 68 20 74 68 65 20 |ved thro|ugh the |
|000022f0| 0d 0a 69 6d 70 6c 65 6d | 65 6e 74 61 74 69 6f 6e |..implem|entation|
|00002300| 20 69 6e 20 41 73 73 65 | 6d 62 6c 79 20 6c 61 6e | in Asse|mbly lan|
|00002310| 67 75 61 67 65 20 28 61 | 73 20 6f 70 70 6f 73 65 |guage (a|s oppose|
|00002320| 64 20 74 6f 20 74 68 65 | 20 63 6f 6d 70 69 6c 65 |d to the| compile|
|00002330| 64 20 6f 72 20 0d 0a 69 | 6e 6c 69 6e 65 20 43 2b |d or ..i|nline C+|
|00002340| 2b 20 63 6f 64 65 20 6f | 66 20 74 68 65 20 63 6f |+ code o|f the co|
|00002350| 6d 70 69 6c 65 72 73 27 | 20 63 6f 6d 70 6c 65 78 |mpilers'| complex|
|00002360| 20 63 6c 61 73 73 20 6c | 69 62 72 61 72 69 65 73 | class l|ibraries|
|00002370| 29 2e 0d 0a 4f 6e 6c 79 | 20 66 6f 72 20 74 68 65 |)...Only| for the|
|00002380| 20 6d 6f 73 74 20 73 69 | 6d 70 6c 65 20 74 61 73 | most si|mple tas|
|00002390| 6b 73 2c 20 61 6c 74 65 | 72 6e 61 74 69 76 65 20 |ks, alte|rnative |
|000023a0| 69 6e 6c 69 6e 65 20 43 | 2b 2b 20 66 75 6e 63 74 |inline C|++ funct|
|000023b0| 69 6f 6e 73 20 61 72 65 | 20 75 73 65 64 2e 0d 0a |ions are| used...|
|000023c0| 0d 0a 54 68 65 20 69 6d | 70 6c 65 6d 65 6e 74 61 |..The im|plementa|
|000023d0| 74 69 6f 6e 20 77 61 73 | 20 67 75 69 64 65 64 20 |tion was| guided |
|000023e0| 62 79 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |by the f|ollowing|
|000023f0| 20 72 75 6c 65 73 3a 0d | 0a 0d 0a 20 20 20 31 2e | rules:.|... 1.|
|00002400| 20 57 69 74 68 6f 75 74 | 20 61 6e 79 20 63 6f 6d | Without| any com|
|00002410| 70 72 6f 6d 69 73 65 2c | 20 74 6f 70 20 70 72 69 |promise,| top pri|
|00002420| 6f 72 69 74 79 20 69 73 | 20 61 6c 77 61 79 73 20 |ority is| always |
|00002430| 67 69 76 65 6e 20 74 6f | 20 74 68 65 20 6d 61 74 |given to| the mat|
|00002440| 68 65 6d 61 2d 0d 0a 20 | 20 20 20 20 20 74 69 63 |hema-.. | tic|
|00002450| 61 6c 6c 79 20 63 6f 72 | 72 65 63 74 20 72 65 73 |ally cor|rect res|
|00002460| 75 6c 74 2c 20 77 69 74 | 68 20 74 68 65 20 61 63 |ult, wit|h the ac|
|00002470| 63 75 72 61 63 79 20 64 | 65 6d 61 6e 64 65 64 20 |curacy d|emanded |
|00002480| 66 6f 72 20 74 68 65 20 | 72 65 73 70 65 63 74 69 |for the |respecti|
|00002490| 76 65 0d 0a 20 20 20 20 | 20 20 64 61 74 61 20 74 |ve.. | data t|
|000024a0| 79 70 65 2e 20 45 73 70 | 65 63 69 61 6c 6c 79 20 |ype. Esp|ecially |
|000024b0| 66 6f 72 20 63 6f 6d 70 | 6c 65 78 20 66 75 6e 63 |for comp|lex func|
|000024c0| 74 69 6f 6e 73 2c 20 74 | 68 69 73 20 6e 65 63 65 |tions, t|his nece|
|000024d0| 73 73 69 74 61 74 65 73 | 20 61 0d 0a 20 20 20 20 |ssitates| a.. |
|000024e0| 20 20 76 65 72 79 20 74 | 68 6f 72 6f 75 67 68 20 | very t|horough |
|000024f0| 74 72 65 61 74 6d 65 6e | 74 20 6f 66 20 6d 61 6e |treatmen|t of man|
|00002500| 79 20 64 69 66 66 65 72 | 65 6e 74 20 73 69 74 75 |y differ|ent situ|
|00002510| 61 74 69 6f 6e 73 2e 20 | 54 6f 20 74 68 69 73 20 |ations. |To this |
|00002520| 65 6e 64 2c 0d 0a 20 20 | 20 20 20 20 74 68 65 20 |end,.. | the |
|00002530| 76 61 72 69 6f 75 73 20 | 63 61 73 65 73 20 68 61 |various |cases ha|
|00002540| 76 65 20 74 6f 20 62 65 | 20 64 69 73 74 69 6e 67 |ve to be| disting|
|00002550| 75 69 73 68 65 64 20 77 | 69 74 68 20 70 65 64 61 |uished w|ith peda|
|00002560| 6e 74 69 63 20 63 61 72 | 65 2e 0d 0a 20 20 20 32 |ntic car|e... 2|
|00002570| 2e 20 4d 61 74 68 65 6d | 61 74 69 63 61 6c 20 66 |. Mathem|atical f|
|00002580| 75 6e 63 74 69 6f 6e 73 | 20 6d 75 73 74 20 62 65 |unctions| must be|
|00002590| 20 22 73 61 66 65 22 20 | 75 6e 64 65 72 20 61 6c | "safe" |under al|
|000025a0| 6c 20 63 69 72 63 75 6d | 73 74 61 6e 63 65 73 2e |l circum|stances.|
|000025b0| 0d 0a 20 20 20 20 20 20 | 54 68 65 79 20 6d 61 79 |.. |They may|
|000025c0| 20 66 6f 72 20 6e 6f 20 | 72 65 61 73 6f 6e 20 73 | for no |reason s|
|000025d0| 69 6d 70 6c 79 20 63 72 | 61 73 68 2c 20 62 75 74 |imply cr|ash, but|
|000025e0| 20 68 61 76 65 20 74 6f | 20 70 65 72 66 6f 72 6d | have to| perform|
|000025f0| 20 61 20 64 65 63 65 6e | 74 0d 0a 20 20 20 20 20 | a decen|t.. |
|00002600| 20 65 72 72 6f 72 20 74 | 72 65 61 74 6d 65 6e 74 | error t|reatment|
|00002610| 2e 20 54 68 69 73 20 69 | 73 20 74 72 75 65 20 65 |. This i|s true e|
|00002620| 76 65 6e 20 2d 20 61 6e | 64 20 70 65 72 68 61 70 |ven - an|d perhap|
|00002630| 73 20 65 73 70 65 63 69 | 61 6c 6c 79 20 2d 20 66 |s especi|ally - f|
|00002640| 6f 72 0d 0a 20 20 20 20 | 20 20 73 65 65 6d 69 6e |or.. | seemin|
|00002650| 67 6c 79 20 6e 6f 6e 73 | 65 6e 73 65 20 61 72 67 |gly nons|ense arg|
|00002660| 75 6d 65 6e 74 73 2c 20 | 77 69 74 68 20 74 68 65 |uments, |with the|
|00002670| 20 73 69 6e 67 6c 65 20 | 65 78 63 65 70 74 69 6f | single |exceptio|
|00002680| 6e 20 6f 66 20 74 68 65 | 0d 0a 20 20 20 20 20 20 |n of the|.. |
|00002690| 6e 6f 6e 2d 6e 75 6d 62 | 65 72 73 20 49 4e 46 20 |non-numb|ers INF |
|000026a0| 61 6e 64 20 4e 41 4e 2c | 20 77 68 69 63 68 20 6f |and NAN,| which o|
|000026b0| 63 63 75 72 20 74 68 65 | 6d 73 65 6c 76 65 73 20 |ccur the|mselves |
|000026c0| 6f 6e 6c 79 20 61 73 20 | 61 20 72 65 73 75 6c 74 |only as |a result|
|000026d0| 0d 0a 20 20 20 20 20 20 | 6f 66 20 73 65 72 69 6f |.. |of serio|
|000026e0| 75 73 20 65 72 72 6f 72 | 73 20 69 6e 20 6f 74 68 |us error|s in oth|
|000026f0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 73 2e 0d 0a 20 |er funct|ions... |
|00002700| 20 20 33 2e 20 42 79 20 | 61 6c 6c 20 70 6f 73 73 | 3. By |all poss|
|00002710| 69 62 6c 65 20 6d 65 61 | 6e 73 2c 20 67 72 65 61 |ible mea|ns, grea|
|00002720| 74 65 73 74 20 65 78 65 | 63 75 74 69 6f 6e 20 73 |test exe|cution s|
|00002730| 70 65 65 64 20 6d 75 73 | 74 20 62 65 20 61 74 74 |peed mus|t be att|
|00002740| 61 69 6e 65 64 2e 0d 0a | 20 20 20 20 20 20 28 41 |ained...| (A|
|00002750| 66 74 65 72 20 61 6c 6c | 2c 20 79 6f 75 20 64 69 |fter all|, you di|
|00002760| 64 20 6e 6f 74 20 62 75 | 79 20 79 6f 75 72 20 66 |d not bu|y your f|
|00002770| 61 73 74 20 63 6f 6d 70 | 75 74 65 72 20 66 6f 72 |ast comp|uter for|
|00002780| 20 6e 6f 74 68 69 6e 67 | 21 29 0d 0a 20 20 20 34 | nothing|!).. 4|
|00002790| 2e 20 54 68 65 20 70 72 | 6f 67 72 61 6d 20 63 6f |. The pr|ogram co|
|000027a0| 64 65 20 68 61 73 20 74 | 6f 20 62 65 20 61 73 20 |de has t|o be as |
|000027b0| 63 6f 6d 70 61 63 74 20 | 61 73 20 70 6f 73 73 69 |compact |as possi|
|000027c0| 62 6c 65 2e 20 48 6f 77 | 65 76 65 72 2c 20 69 6e |ble. How|ever, in|
|000027d0| 20 63 61 73 65 0d 0a 20 | 20 20 20 20 20 6f 66 20 | case.. | of |
|000027e0| 63 6f 6e 66 6c 69 63 74 | 73 2c 20 66 61 73 74 65 |conflict|s, faste|
|000027f0| 72 20 65 78 65 63 75 74 | 69 6f 6e 20 73 70 65 65 |r execut|ion spee|
|00002800| 64 20 69 73 20 61 6c 77 | 61 79 73 20 67 69 76 65 |d is alw|ays give|
|00002810| 6e 20 70 72 69 6f 72 69 | 74 79 0d 0a 20 20 20 20 |n priori|ty.. |
|00002820| 20 20 6f 76 65 72 20 73 | 6d 61 6c 6c 65 72 20 63 | over s|maller c|
|00002830| 6f 64 65 20 73 69 7a 65 | 2e 0d 0a 0d 0a 48 61 76 |ode size|.....Hav|
|00002840| 69 6e 67 20 61 20 6c 6f | 6f 6b 20 69 6e 74 6f 20 |ing a lo|ok into |
|00002850| 74 68 65 20 63 6f 6d 70 | 6c 65 78 20 63 6c 61 73 |the comp|lex clas|
|00002860| 73 20 6c 69 62 72 61 72 | 69 65 73 20 6f 66 20 70 |s librar|ies of p|
|00002870| 6f 70 75 6c 61 72 20 63 | 6f 6d 70 69 6c 65 72 73 |opular c|ompilers|
|00002880| 2c 20 79 6f 75 0d 0a 77 | 69 6c 6c 20 69 6d 6d 65 |, you..w|ill imme|
|00002890| 64 69 61 74 65 6c 79 20 | 64 69 73 63 6f 76 65 72 |diately |discover|
|000028a0| 20 74 68 65 20 64 69 66 | 66 65 72 65 6e 63 65 73 | the dif|ferences|
|000028b0| 20 62 65 74 77 65 65 6e | 20 6f 75 72 20 61 70 70 | between| our app|
|000028c0| 72 6f 61 63 68 20 61 6e | 64 20 74 68 65 69 72 73 |roach an|d theirs|
|000028d0| 2e 0d 0a 4f 66 74 65 6e | 20 74 68 65 20 6d 61 74 |...Often| the mat|
|000028e0| 68 65 6d 61 74 69 63 61 | 6c 20 66 75 6e 63 74 69 |hematica|l functi|
|000028f0| 6f 6e 73 20 61 72 65 20 | 69 6d 70 6c 65 6d 65 6e |ons are |implemen|
|00002900| 74 65 64 20 62 79 20 73 | 69 6d 70 6c 79 20 77 72 |ted by s|imply wr|
|00002910| 69 74 69 6e 67 20 64 6f | 77 6e 20 74 68 65 0d 0a |iting do|wn the..|
|00002920| 74 65 78 74 62 6f 6f 6b | 20 66 6f 72 6d 75 6c 61 |textbook| formula|
|00002930| 2e 20 54 68 69 73 20 79 | 69 65 6c 64 73 20 72 65 |. This y|ields re|
|00002940| 6c 61 74 69 76 65 6c 79 | 20 63 6f 6d 70 61 63 74 |latively| compact|
|00002950| 20 73 6f 75 72 63 65 20 | 63 6f 64 65 2e 20 42 75 | source |code. Bu|
|00002960| 74 2c 20 64 75 65 20 74 | 6f 0d 0a 72 6f 75 6e 64 |t, due t|o..round|
|00002970| 2d 6f 66 66 20 65 72 72 | 6f 72 20 6f 66 20 69 6e |-off err|or of in|
|00002980| 74 65 72 6d 65 64 69 61 | 74 65 20 72 65 73 75 6c |termedia|te resul|
|00002990| 74 73 2c 20 74 68 65 20 | 66 69 6e 61 6c 20 72 65 |ts, the |final re|
|000029a0| 73 75 6c 74 73 20 72 65 | 74 75 72 6e 65 64 20 62 |sults re|turned b|
|000029b0| 79 20 74 68 65 73 65 0d | 0a 66 75 6e 63 74 69 6f |y these.|.functio|
|000029c0| 6e 73 20 61 72 65 20 73 | 6f 6d 65 74 69 6d 65 73 |ns are s|ometimes|
|000029d0| 20 76 65 72 79 20 69 6e | 61 63 63 75 72 61 74 65 | very in|accurate|
|000029e0| 20 6f 72 20 65 76 65 6e | 20 63 6f 6d 70 6c 65 74 | or even| complet|
|000029f0| 65 6c 79 20 77 72 6f 6e | 67 2e 20 4d 6f 72 65 6f |ely wron|g. Moreo|
|00002a00| 76 65 72 2c 0d 0a 74 68 | 65 79 20 6d 61 79 20 6c |ver,..th|ey may l|
|00002a10| 65 61 64 20 74 6f 20 75 | 6e 68 61 6e 64 6c 65 64 |ead to u|nhandled|
|00002a20| 20 66 6c 6f 61 74 69 6e | 67 2d 70 6f 69 6e 74 20 | floatin|g-point |
|00002a30| 65 72 72 6f 72 73 20 28 | 74 68 69 73 20 6d 65 61 |errors (|this mea|
|00002a40| 6e 73 3a 20 70 72 6f 67 | 72 61 6d 20 63 72 61 73 |ns: prog|ram cras|
|00002a50| 68 21 29 2e 0d 0a 55 6e | 6e 65 63 65 73 73 61 72 |h!)...Un|necessar|
|00002a60| 79 20 74 6f 20 6d 65 6e | 74 69 6f 6e 20 74 68 61 |y to men|tion tha|
|00002a70| 74 20 74 68 65 20 63 6f | 64 65 20 74 68 75 73 20 |t the co|de thus |
|00002a80| 67 65 6e 65 72 61 74 65 | 64 20 69 73 20 72 61 74 |generate|d is rat|
|00002a90| 68 65 72 20 73 6c 6f 77 | 2e 0d 0a 0d 0a 46 6f 72 |her slow|.....For|
|00002aa0| 20 70 72 6f 67 72 61 6d | 6d 65 72 73 20 77 68 6f | program|mers who|
|00002ab0| 20 70 72 65 66 65 72 20 | 63 6c 61 73 73 69 73 20 | prefer |classis |
|00002ac0| 43 2d 73 74 79 6c 65 20 | 66 75 6e 63 74 69 6f 6e |C-style |function|
|00002ad0| 73 20 6f 76 65 72 20 43 | 2b 2b 2c 20 43 4d 41 54 |s over C|++, CMAT|
|00002ae0| 48 0d 0a 70 72 6f 76 69 | 64 65 73 20 61 6c 6c 20 |H..provi|des all |
|00002af0| 63 6f 6d 70 6c 65 78 2d | 6e 75 6d 62 65 72 20 6f |complex-|number o|
|00002b00| 70 65 72 61 74 69 6f 6e | 73 20 61 6e 64 20 66 75 |peration|s and fu|
|00002b10| 6e 63 74 69 6f 6e 73 20 | 61 6c 73 6f 20 66 6f 72 |nctions |also for|
|00002b20| 20 74 68 65 20 6c 61 6e | 67 75 61 67 65 20 43 2e | the lan|guage C.|
|00002b30| 0d 0a 54 68 69 73 20 69 | 73 20 61 63 63 6f 6d 70 |..This i|s accomp|
|00002b40| 6c 69 73 68 65 64 20 74 | 68 72 6f 75 67 68 20 61 |lished t|hrough a|
|00002b50| 6e 20 61 64 64 69 74 69 | 6f 6e 61 6c 20 73 65 74 |n additi|onal set|
|00002b60| 20 6f 66 20 61 6c 74 65 | 72 6e 61 74 69 76 65 20 | of alte|rnative |
|00002b70| 64 65 63 6c 61 72 61 74 | 69 6f 6e 73 0d 0a 6f 66 |declarat|ions..of|
|00002b80| 20 74 68 65 20 63 6f 6d | 70 6c 65 78 20 74 79 70 | the com|plex typ|
|00002b90| 65 73 20 61 73 20 73 74 | 72 75 63 74 73 20 69 6e |es as st|ructs in|
|00002ba0| 20 70 6c 61 63 65 20 6f | 66 20 63 6c 61 73 73 65 | place o|f classe|
|00002bb0| 73 2e 0d 0a 56 65 72 73 | 69 6f 6e 73 20 66 6f 72 |s...Vers|ions for|
|00002bc0| 20 50 61 73 63 61 6c 20 | 61 6e 64 20 46 6f 72 74 | Pascal |and Fort|
|00002bd0| 72 61 6e 20 77 69 6c 6c | 20 62 65 20 72 65 6c 65 |ran will| be rele|
|00002be0| 61 73 65 64 20 73 6f 6f | 6e 2c 20 69 6e 20 77 68 |ased soo|n, in wh|
|00002bf0| 69 63 68 20 61 6c 6c 0d | 0a 66 75 6e 63 74 69 6f |ich all.|.functio|
|00002c00| 6e 73 20 73 68 61 6c 6c | 20 68 61 76 65 20 74 68 |ns shall| have th|
|00002c10| 65 20 73 61 6d 65 20 6e | 61 6d 65 73 20 61 73 20 |e same n|ames as |
|00002c20| 69 6e 20 74 68 65 20 43 | 20 76 65 72 73 69 6f 6e |in the C| version|
|00002c30| 2c 20 61 73 20 66 61 72 | 20 61 73 20 70 6f 73 73 |, as far| as poss|
|00002c40| 69 62 6c 65 2e 0d 0a 54 | 68 65 20 43 2b 2b 20 63 |ible...T|he C++ c|
|00002c50| 6c 61 73 73 65 73 20 61 | 6e 64 20 74 68 65 20 43 |lasses a|nd the C|
|00002c60| 20 73 74 72 75 63 74 73 | 20 61 72 65 20 62 69 6e | structs| are bin|
|00002c70| 61 72 79 20 63 6f 6d 70 | 61 74 69 62 6c 65 20 77 |ary comp|atible w|
|00002c80| 69 74 68 20 65 61 63 68 | 20 6f 74 68 65 72 2e 0d |ith each| other..|
|00002c90| 0a 54 68 69 73 20 70 6f | 69 6e 74 20 6d 61 79 20 |.This po|int may |
|00002ca0| 62 65 63 6f 6d 65 20 69 | 6d 70 6f 72 74 61 6e 74 |become i|mportant|
|00002cb0| 20 66 6f 72 20 6c 61 72 | 67 65 20 70 72 6f 6a 65 | for lar|ge proje|
|00002cc0| 63 74 73 20 77 69 74 68 | 20 6d 69 78 65 64 20 43 |cts with| mixed C|
|00002cd0| 20 61 6e 64 20 43 2b 2b | 0d 0a 6d 6f 64 75 6c 65 | and C++|..module|
|00002ce0| 73 2e 0d 0a 0d 0a 45 78 | 69 73 74 69 6e 67 20 43 |s.....Ex|isting C|
|00002cf0| 2b 2b 20 63 6f 64 65 20 | 77 68 69 63 68 20 75 73 |++ code |which us|
|00002d00| 65 73 20 74 68 65 20 63 | 6f 6d 70 6c 65 78 20 63 |es the c|omplex c|
|00002d10| 6c 61 73 73 20 6c 69 62 | 72 61 72 79 20 63 6f 6e |lass lib|rary con|
|00002d20| 74 61 69 6e 65 64 20 69 | 6e 0d 0a 3c 63 6f 6d 70 |tained i|n..<comp|
|00002d30| 6c 65 78 2e 68 3e 20 63 | 61 6e 20 62 65 20 6c 65 |lex.h> c|an be le|
|00002d40| 66 74 20 75 6e 63 68 61 | 6e 67 65 64 2c 20 62 65 |ft uncha|nged, be|
|00002d50| 63 61 75 73 65 20 74 68 | 65 20 43 4d 41 54 48 20 |cause th|e CMATH |
|00002d60| 66 75 6e 63 74 69 6f 6e | 73 20 61 6e 64 20 64 61 |function|s and da|
|00002d70| 74 61 0d 0a 74 79 70 65 | 73 20 61 72 65 20 61 6c |ta..type|s are al|
|00002d80| 73 6f 20 62 69 6e 61 72 | 79 20 63 6f 6d 70 61 74 |so binar|y compat|
|00002d90| 69 62 6c 65 20 77 69 74 | 68 20 74 68 6f 73 65 20 |ible wit|h those |
|00002da0| 6f 66 20 3c 63 6f 6d 70 | 6c 65 78 2e 68 3e 2e 0d |of <comp|lex.h>..|
|00002db0| 0a 48 65 72 65 20 69 73 | 20 61 20 64 65 74 61 69 |.Here is| a detai|
|00002dc0| 6c 65 64 20 64 65 73 63 | 72 69 70 74 69 6f 6e 20 |led desc|ription |
|00002dd0| 6f 66 20 68 6f 77 20 74 | 6f 20 73 77 69 74 63 68 |of how t|o switch|
|00002de0| 20 66 72 6f 6d 20 74 68 | 65 20 63 6f 6d 70 6c 65 | from th|e comple|
|00002df0| 78 20 63 6c 61 73 73 65 | 73 20 6f 66 0d 0a 42 6f |x classe|s of..Bo|
|00002e00| 72 6c 61 6e 64 20 43 2b | 2b 20 74 6f 20 74 68 65 |rland C+|+ to the|
|00002e10| 20 6e 65 77 20 69 6d 70 | 6c 65 6d 65 6e 74 61 74 | new imp|lementat|
|00002e20| 69 6f 6e 20 67 69 76 65 | 6e 20 62 79 20 43 4d 41 |ion give|n by CMA|
|00002e30| 54 48 3a 0d 0a 0d 0a 2a | 20 20 49 6e 20 43 2b 2b |TH:....*| In C++|
|00002e40| 20 6d 6f 64 75 6c 65 73 | 2c 20 72 65 70 6c 61 63 | modules|, replac|
|00002e50| 65 20 74 68 65 20 73 74 | 61 74 65 6d 65 6e 74 0d |e the st|atement.|
|00002e60| 0a 20 20 20 20 20 20 20 | 23 69 6e 63 6c 75 64 65 |. |#include|
|00002e70| 20 3c 63 6f 6d 70 6c 65 | 78 2e 68 3e 0d 0a 20 20 | <comple|x.h>.. |
|00002e80| 20 62 79 20 74 68 65 20 | 73 74 61 74 65 6d 65 6e | by the |statemen|
|00002e90| 74 0d 0a 20 20 20 20 20 | 20 20 23 69 6e 63 6c 75 |t.. | #inclu|
|00002ea0| 64 65 20 3c 6e 65 77 63 | 70 6c 78 2e 68 3e 0d 0a |de <newc|plx.h>..|
|00002eb0| 20 20 20 54 68 65 6e 2c | 20 74 68 65 20 66 6f 6c | Then,| the fol|
|00002ec0| 6c 6f 77 69 6e 67 20 74 | 68 72 65 65 20 63 6f 6d |lowing t|hree com|
|00002ed0| 70 6c 65 78 20 63 6c 61 | 73 73 65 73 20 61 72 65 |plex cla|sses are|
|00002ee0| 20 64 65 66 69 6e 65 64 | 3a 0d 0a 20 20 20 63 6c | defined|:.. cl|
|00002ef0| 61 73 73 20 63 6f 6d 70 | 6c 65 78 3c 66 6c 6f 61 |ass comp|lex<floa|
|00002f00| 74 3e 2c 20 20 63 6c 61 | 73 73 20 63 6f 6d 70 6c |t>, cla|ss compl|
|00002f10| 65 78 3c 64 6f 75 62 6c | 65 3e 2c 0d 0a 20 20 20 |ex<doubl|e>,.. |
|00002f20| 61 6e 64 20 20 63 6c 61 | 73 73 20 63 6f 6d 70 6c |and cla|ss compl|
|00002f30| 65 78 3c 65 78 74 65 6e | 64 65 64 3e 2e 0d 0a 0d |ex<exten|ded>....|
|00002f40| 0a 20 20 20 54 68 65 20 | 64 61 74 61 20 74 79 70 |. The |data typ|
|00002f50| 65 73 20 66 43 6f 6d 70 | 6c 65 78 2c 20 64 43 6f |es fComp|lex, dCo|
|00002f60| 6d 70 6c 65 78 2c 20 61 | 6e 64 20 65 43 6f 6d 70 |mplex, a|nd eComp|
|00002f70| 6c 65 78 20 61 72 65 20 | 64 65 66 69 6e 65 64 20 |lex are |defined |
|00002f80| 61 73 0d 0a 20 20 20 73 | 79 6e 6f 6e 79 6d 73 20 |as.. s|ynonyms |
|00002f90| 66 6f 72 20 74 68 65 73 | 65 20 63 6c 61 73 73 65 |for thes|e classe|
|00002fa0| 73 2e 0d 0a 20 20 20 49 | 6e 20 6f 72 64 65 72 20 |s... I|n order |
|00002fb0| 74 6f 20 61 76 6f 69 64 | 20 74 68 65 20 6c 65 74 |to avoid| the let|
|00002fc0| 74 65 72 20 22 4c 22 20 | 28 77 68 69 63 68 20 69 |ter "L" |(which i|
|00002fd0| 73 20 61 6c 72 65 61 64 | 79 20 6f 76 65 72 2d 75 |s alread|y over-u|
|00002fe0| 73 65 64 20 62 79 20 22 | 6c 6f 6e 67 20 69 6e 74 |sed by "|long int|
|00002ff0| 22 0d 0a 20 20 20 61 6e | 64 20 22 75 6e 73 69 67 |".. an|d "unsig|
|00003000| 6e 65 64 20 6c 6f 6e 67 | 22 20 69 6e 20 74 68 65 |ned long|" in the|
|00003010| 20 6c 61 6e 67 75 61 67 | 65 20 43 29 2c 20 74 68 | languag|e C), th|
|00003020| 65 20 74 79 70 65 20 22 | 65 78 74 65 6e 64 65 64 |e type "|extended|
|00003030| 22 20 69 73 20 75 73 65 | 64 20 68 65 72 65 0d 0a |" is use|d here..|
|00003040| 20 20 20 61 73 20 61 20 | 73 79 6e 6f 6e 79 6d 20 | as a |synonym |
|00003050| 66 6f 72 20 22 6c 6f 6e | 67 20 64 6f 75 62 6c 65 |for "lon|g double|
|00003060| 22 2e 20 43 6f 6e 73 65 | 71 75 65 6e 74 6c 79 2c |". Conse|quently,|
|00003070| 20 74 68 65 20 63 6f 6d | 70 6c 65 78 20 64 61 74 | the com|plex dat|
|00003080| 61 20 74 79 70 65 0d 0a | 20 20 20 63 6f 6e 73 69 |a type..| consi|
|00003090| 73 74 69 6e 67 20 6f 66 | 20 6c 6f 6e 67 20 64 6f |sting of| long do|
|000030a0| 75 62 6c 65 73 20 69 73 | 20 6e 61 6d 65 64 20 22 |ubles is| named "|
|000030b0| 65 43 6f 6d 70 6c 65 78 | 22 2e 20 54 68 65 72 65 |eComplex|". There|
|000030c0| 62 79 2c 20 74 68 65 20 | 77 61 79 20 69 73 20 68 |by, the |way is h|
|000030d0| 65 6c 64 0d 0a 20 20 20 | 6f 70 65 6e 20 66 6f 72 |eld.. |open for|
|000030e0| 20 61 20 66 75 74 75 72 | 65 20 69 6e 63 6c 75 73 | a futur|e inclus|
|000030f0| 69 6f 6e 20 6f 66 20 77 | 68 6f 6c 65 2d 6e 75 6d |ion of w|hole-num|
|00003100| 62 65 72 20 63 6f 6d 70 | 6c 65 78 20 74 79 70 65 |ber comp|lex type|
|00003110| 73 20 69 6e 74 6f 20 43 | 4d 41 54 48 2e 0d 0a 20 |s into C|MATH... |
|00003120| 20 20 54 68 65 6e 2c 22 | 6c 69 43 6f 6d 70 6c 65 | Then,"|liComple|
|00003130| 78 22 20 61 6e 64 20 22 | 75 6c 43 6f 6d 70 6c 65 |x" and "|ulComple|
|00003140| 78 22 20 77 69 6c 6c 20 | 64 65 6e 6f 74 65 20 74 |x" will |denote t|
|00003150| 68 65 20 63 6f 6d 70 6c | 65 78 20 74 79 70 65 73 |he compl|ex types|
|00003160| 20 63 6f 6e 73 69 73 74 | 69 6e 67 0d 0a 20 20 20 | consist|ing.. |
|00003170| 6f 66 20 22 6c 6f 6e 67 | 20 69 6e 74 22 20 6f 72 |of "long| int" or|
|00003180| 20 22 75 6e 73 69 67 6e | 65 64 20 6c 6f 6e 67 22 | "unsign|ed long"|
|00003190| 20 70 61 72 74 73 2c 20 | 72 65 73 70 65 63 74 69 | parts, |respecti|
|000031a0| 76 65 6c 79 2e 0d 0a 0d | 0a 2a 20 20 49 66 20 79 |vely....|.* If y|
|000031b0| 6f 75 20 70 72 65 66 65 | 72 20 74 6f 20 68 61 76 |ou prefe|r to hav|
|000031c0| 65 20 74 68 65 20 22 63 | 6c 61 73 73 69 63 22 20 |e the "c|lassic" |
|000031d0| 63 6c 61 73 73 20 63 6f | 6d 70 6c 65 78 20 6f 66 |class co|mplex of|
|000031e0| 20 6f 6c 64 65 72 20 72 | 65 6c 65 61 73 65 73 0d | older r|eleases.|
|000031f0| 0a 20 20 20 6f 66 20 42 | 6f 72 6c 61 6e 64 20 43 |. of B|orland C|
|00003200| 2b 2b 2c 20 79 6f 75 20 | 68 61 76 65 20 74 6f 20 |++, you |have to |
|00003210| 64 65 63 6c 61 72 65 0d | 0a 20 20 20 20 20 20 20 |declare.|. |
|00003220| 23 64 65 66 69 6e 65 20 | 43 4d 41 54 48 5f 43 4c |#define |CMATH_CL|
|00003230| 41 53 53 49 43 5f 43 4f | 4d 50 4c 45 58 0d 0a 20 |ASSIC_CO|MPLEX.. |
|00003240| 20 20 62 65 66 6f 72 65 | 20 28 21 29 20 69 6e 63 | before| (!) inc|
|00003250| 6c 75 64 69 6e 67 20 3c | 6e 65 77 63 70 6c 78 2e |luding <|newcplx.|
|00003260| 68 3e 2e 0d 0a 20 20 20 | 49 6e 20 74 68 69 73 20 |h>... |In this |
|00003270| 63 61 73 65 2c 20 6f 6e | 6c 79 20 74 68 65 20 63 |case, on|ly the c|
|00003280| 6c 61 73 73 20 63 6f 6d | 70 6c 65 78 20 77 69 6c |lass com|plex wil|
|00003290| 6c 20 62 65 20 64 65 66 | 69 6e 65 64 20 61 6e 64 |l be def|ined and|
|000032a0| 20 67 65 74 73 20 74 68 | 65 20 73 79 6e 6f 6e 79 | gets th|e synony|
|000032b0| 6d 0d 0a 20 20 20 64 43 | 6f 6d 70 6c 65 78 2e 20 |m.. dC|omplex. |
|000032c0| 48 65 72 65 20 79 6f 75 | 20 77 69 6c 6c 20 68 61 |Here you| will ha|
|000032d0| 76 65 20 6e 6f 20 61 63 | 63 65 73 73 20 74 6f 20 |ve no ac|cess to |
|000032e0| 74 68 65 20 63 6f 6d 70 | 6c 65 78 2d 6e 75 6d 62 |the comp|lex-numb|
|000032f0| 65 72 20 66 75 6e 63 74 | 69 6f 6e 73 20 6f 66 0d |er funct|ions of.|
|00003300| 0a 20 20 20 66 6c 6f 61 | 74 20 61 6e 64 20 6f 66 |. floa|t and of|
|00003310| 20 65 78 74 65 6e 64 65 | 64 20 70 72 65 63 69 73 | extende|d precis|
|00003320| 69 6f 6e 2e 0d 0a 0d 0a | 2a 20 20 46 6f 72 20 43 |ion.....|* For C|
|00003330| 20 6d 6f 64 75 6c 65 73 | 2c 20 79 6f 75 20 63 61 | modules|, you ca|
|00003340| 6e 6e 6f 74 20 69 6e 63 | 6c 75 64 65 20 3c 6e 65 |nnot inc|lude <ne|
|00003350| 78 63 70 6c 78 2e 68 3e | 2e 20 52 61 74 68 65 72 |xcplx.h>|. Rather|
|00003360| 2c 20 70 6c 65 61 73 65 | 20 64 65 63 6c 61 72 65 |, please| declare|
|00003370| 0d 0a 20 20 20 20 20 20 | 23 69 6e 63 6c 75 64 65 |.. |#include|
|00003380| 20 3c 63 6d 61 74 68 2e | 68 3e 0d 0a 20 20 20 49 | <cmath.|h>.. I|
|00003390| 66 20 79 6f 75 20 61 72 | 65 20 75 73 69 6e 67 20 |f you ar|e using |
|000033a0| 6f 6e 6c 79 20 6f 6e 65 | 20 6c 65 76 65 6c 20 6f |only one| level o|
|000033b0| 66 20 66 6c 6f 61 74 69 | 6e 67 2d 70 6f 69 6e 74 |f floati|ng-point|
|000033c0| 20 70 72 65 63 69 73 69 | 6f 6e 2c 20 79 6f 75 20 | precisi|on, you |
|000033d0| 6d 61 79 0d 0a 20 20 20 | 77 69 73 68 20 74 6f 20 |may.. |wish to |
|000033e0| 69 6e 63 6c 75 64 65 20 | 6f 6e 6c 79 20 6f 6e 65 |include |only one|
|000033f0| 20 6f 66 20 74 68 65 20 | 74 79 70 65 2d 73 70 65 | of the |type-spe|
|00003400| 63 69 66 69 63 20 69 6e | 63 6c 75 64 65 2d 66 69 |cific in|clude-fi|
|00003410| 6c 65 73 3a 0d 0a 20 20 | 20 3c 63 66 6d 61 74 68 |les:.. | <cfmath|
|00003420| 2e 68 3e 2c 20 20 3c 63 | 64 6d 61 74 68 2e 68 3e |.h>, <c|dmath.h>|
|00003430| 2c 20 6f 72 20 3c 63 65 | 6d 61 74 68 2e 68 3e 2c |, or <ce|math.h>,|
|00003440| 20 72 65 73 70 65 63 74 | 69 76 65 6c 79 2e 0d 0a | respect|ively...|
|00003450| 20 20 20 54 68 65 20 70 | 6c 61 69 6e 2d 43 20 69 | The p|lain-C i|
|00003460| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 6f 66 |mplement|ation of|
|00003470| 20 43 4d 41 54 48 20 69 | 73 20 62 61 73 65 64 20 | CMATH i|s based |
|00003480| 75 70 6f 6e 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |upon the| followi|
|00003490| 6e 67 0d 0a 20 20 20 64 | 65 66 69 6e 69 74 69 6f |ng.. d|efinitio|
|000034a0| 6e 73 20 6f 66 20 74 68 | 65 20 74 68 72 65 65 20 |ns of th|e three |
|000034b0| 63 6f 6d 70 6c 65 78 20 | 64 61 74 61 20 74 79 70 |complex |data typ|
|000034c0| 65 73 3a 0d 0a 20 20 20 | 20 20 20 74 79 70 65 64 |es:.. | typed|
|000034d0| 65 66 20 20 73 74 72 75 | 63 74 20 7b 20 66 6c 6f |ef stru|ct { flo|
|000034e0| 61 74 20 20 20 20 20 52 | 65 2c 20 49 6d 3b 20 7d |at R|e, Im; }|
|000034f0| 20 20 66 43 6f 6d 70 6c | 65 78 3b 0d 0a 20 20 20 | fCompl|ex;.. |
|00003500| 20 20 20 74 79 70 65 64 | 65 66 20 20 73 74 72 75 | typed|ef stru|
|00003510| 63 74 20 7b 20 64 6f 75 | 62 6c 65 20 20 20 20 52 |ct { dou|ble R|
|00003520| 65 2c 20 49 6d 3b 20 7d | 20 20 64 43 6f 6d 70 6c |e, Im; }| dCompl|
|00003530| 65 78 3b 0d 0a 20 20 20 | 20 20 20 74 79 70 65 64 |ex;.. | typed|
|00003540| 65 66 20 20 73 74 72 75 | 63 74 20 7b 20 65 78 74 |ef stru|ct { ext|
|00003550| 65 6e 64 65 64 20 20 52 | 65 2c 20 49 6d 3b 20 7d |ended R|e, Im; }|
|00003560| 20 20 65 43 6f 6d 70 6c | 65 78 3b 0d 0a 0d 0a 20 | eCompl|ex;.... |
|00003570| 20 20 41 73 20 64 65 73 | 63 72 69 62 65 64 20 61 | As des|cribed a|
|00003580| 62 6f 76 65 2c 20 74 68 | 65 20 64 61 74 61 20 74 |bove, th|e data t|
|00003590| 79 70 65 20 22 65 78 74 | 65 6e 64 65 64 22 20 69 |ype "ext|ended" i|
|000035a0| 73 20 75 73 65 64 20 61 | 73 20 61 20 73 79 6e 6f |s used a|s a syno|
|000035b0| 6e 79 6d 20 66 6f 72 0d | 0a 20 20 20 22 6c 6f 6e |nym for.|. "lon|
|000035c0| 67 20 64 6f 75 62 6c 65 | 22 2c 20 69 6e 20 6f 72 |g double|", in or|
|000035d0| 64 65 72 20 74 6f 20 61 | 76 6f 69 64 20 74 68 65 |der to a|void the|
|000035e0| 20 6c 65 74 74 65 72 20 | 22 4c 22 2e 0d 0a 0d 0a | letter |"L".....|
|000035f0| 2a 20 20 49 6e 20 74 68 | 65 20 43 2b 2b 20 63 6c |* In th|e C++ cl|
|00003600| 61 73 73 65 73 2c 20 74 | 68 65 20 72 65 61 6c 20 |asses, t|he real |
|00003610| 61 6e 64 20 69 6d 61 67 | 69 6e 61 72 79 20 70 61 |and imag|inary pa|
|00003620| 72 74 73 20 61 72 65 20 | 64 65 63 6c 61 72 65 64 |rts are |declared|
|00003630| 20 61 73 20 70 75 62 6c | 69 63 0d 0a 20 20 20 28 | as publ|ic.. (|
|00003640| 69 6e 20 63 6f 6e 74 72 | 61 73 74 20 74 6f 20 42 |in contr|ast to B|
|00003650| 6f 72 6c 61 6e 64 20 43 | 2b 2b 20 21 29 20 61 6e |orland C|++ !) an|
|00003660| 64 20 6e 61 6d 65 64 20 | 22 52 65 22 20 61 6e 64 |d named |"Re" and|
|00003670| 20 22 49 6d 22 2c 20 72 | 65 73 70 65 63 74 69 76 | "Im", r|espectiv|
|00003680| 65 6c 79 2e 0d 0a 20 20 | 20 54 68 69 73 20 61 6c |ely... | This al|
|00003690| 6c 6f 77 73 20 74 6f 20 | 61 63 63 65 73 73 20 74 |lows to |access t|
|000036a0| 68 65 6d 20 61 73 20 22 | 7a 2e 52 65 22 20 61 6e |hem as "|z.Re" an|
|000036b0| 64 20 22 7a 2e 49 6d 22 | 20 20 69 6e 20 43 2b 2b |d "z.Im"| in C++|
|000036c0| 20 6d 6f 64 75 6c 65 73 | 20 61 73 20 77 65 6c 6c | modules| as well|
|000036d0| 0d 0a 20 20 20 61 73 20 | 69 6e 20 43 20 6d 6f 64 |.. as |in C mod|
|000036e0| 75 6c 65 73 2e 0d 0a 0d | 0a 54 68 65 20 69 6d 70 |ules....|.The imp|
|000036f0| 6c 65 6d 65 6e 74 61 74 | 69 6f 6e 20 64 65 73 63 |lementat|ion desc|
|00003700| 72 69 62 65 64 20 69 6e | 20 74 68 69 73 20 64 6f |ribed in| this do|
|00003710| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 72 65 66 65 |cumentat|ion refe|
|00003720| 72 73 20 74 6f 20 42 6f | 72 6c 61 6e 64 20 43 2b |rs to Bo|rland C+|
|00003730| 2b 2c 0d 0a 76 65 72 73 | 69 6f 6e 20 33 2e 30 20 |+,..vers|ion 3.0 |
|00003740| 6f 72 20 6c 61 74 65 72 | 20 66 6f 72 20 44 4f 53 |or later| for DOS|
|00003750| 20 61 6e 64 20 4d 69 63 | 72 6f 73 6f 66 74 20 57 | and Mic|rosoft W|
|00003760| 69 6e 64 6f 77 73 20 33 | 2e 30 20 6f 72 20 6c 61 |indows 3|.0 or la|
|00003770| 74 65 72 20 28 6f 72 20 | 57 69 6e 2d 4f 53 0d 0a |ter (or |Win-OS..|
|00003780| 73 65 73 73 69 6f 6e 73 | 20 75 6e 64 65 72 20 49 |sessions| under I|
|00003790| 42 4d 20 4f 53 2f 32 20 | 32 2e 30 20 6f 72 20 6c |BM OS/2 |2.0 or l|
|000037a0| 61 74 65 72 3b 20 69 6e | 20 74 68 65 20 66 6f 6c |ater; in| the fol|
|000037b0| 6c 6f 77 69 6e 67 2c 20 | 77 65 20 77 69 6c 6c 20 |lowing, |we will |
|000037c0| 73 69 6d 70 6c 79 20 73 | 70 65 61 6b 0d 0a 6f 66 |simply s|peak..of|
|000037d0| 20 22 57 69 6e 64 6f 77 | 73 22 29 2e 20 54 68 65 | "Window|s"). The|
|000037e0| 20 6c 69 62 72 61 72 79 | 20 66 6f 72 20 74 68 65 | library| for the|
|000037f0| 20 6d 65 6d 6f 72 79 20 | 6d 6f 64 65 6c 20 46 4c | memory |model FL|
|00003800| 41 54 20 66 6f 72 20 57 | 69 6e 64 6f 77 73 39 35 |AT for W|indows95|
|00003810| 20 61 6e 64 0d 0a 57 69 | 6e 64 6f 77 73 4e 54 20 | and..Wi|ndowsNT |
|00003820| 72 65 71 75 69 72 65 73 | 20 42 6f 72 6c 61 6e 64 |requires| Borland|
|00003830| 20 43 2b 2b 2c 20 76 65 | 72 73 69 6f 6e 20 34 2e | C++, ve|rsion 4.|
|00003840| 30 20 6f 72 20 68 69 67 | 68 65 72 2e 0d 0a 0d 0a |0 or hig|her.....|
|00003850| 44 65 70 65 6e 64 69 6e | 67 20 6f 6e 20 79 6f 75 |Dependin|g on you|
|00003860| 72 20 63 68 6f 69 63 65 | 20 77 68 65 6e 20 6f 72 |r choice| when or|
|00003870| 64 65 72 69 6e 67 20 6f | 72 20 64 6f 77 6e 6c 6f |dering o|r downlo|
|00003880| 61 64 69 6e 67 20 74 68 | 65 20 53 68 61 72 65 77 |ading th|e Sharew|
|00003890| 61 72 65 20 76 65 72 73 | 69 6f 6e 0d 0a 6f 66 20 |are vers|ion..of |
|000038a0| 43 4d 41 54 48 2c 20 79 | 6f 75 20 68 61 76 65 20 |CMATH, y|ou have |
|000038b0| 67 6f 74 20 65 69 74 68 | 65 72 20 6f 66 20 74 68 |got eith|er of th|
|000038c0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 74 68 72 65 |e follow|ing thre|
|000038d0| 65 20 6c 69 62 72 61 72 | 79 20 76 65 72 73 69 6f |e librar|y versio|
|000038e0| 6e 73 3a 0d 0a 6d 65 6d | 6f 72 79 20 6d 6f 64 65 |ns:..mem|ory mode|
|000038f0| 6c 20 4c 41 52 47 45 20 | 66 6f 72 20 44 4f 53 2c |l LARGE |for DOS,|
|00003900| 20 4c 41 52 47 45 20 66 | 6f 72 20 57 69 6e 64 6f | LARGE f|or Windo|
|00003910| 77 73 20 33 2e 78 2c 20 | 6f 72 20 46 4c 41 54 20 |ws 3.x, |or FLAT |
|00003920| 66 6f 72 20 57 69 6e 64 | 6f 77 73 39 35 2f 4e 54 |for Wind|ows95/NT|
|00003930| 2e 0d 0a 41 6c 6c 20 6f | 66 20 74 68 65 6d 20 72 |...All o|f them r|
|00003940| 65 71 75 69 72 65 2c 20 | 61 74 20 6c 65 61 73 74 |equire, |at least|
|00003950| 2c 20 61 20 33 38 36 20 | 63 6f 6d 70 75 74 65 72 |, a 386 |computer|
|00003960| 20 65 71 75 69 70 70 65 | 64 20 77 69 74 68 20 61 | equippe|d with a|
|00003970| 20 33 38 37 0d 0a 63 6f | 70 72 6f 63 65 73 73 6f | 387..co|processo|
|00003980| 72 2e 20 54 68 69 73 20 | 6d 65 61 6e 73 3a 20 6e |r. This |means: n|
|00003990| 6f 20 65 6d 75 6c 61 74 | 69 6f 6e 2c 20 6e 6f 20 |o emulat|ion, no |
|000039a0| 34 38 36 53 58 2c 20 62 | 75 74 20 70 72 65 66 65 |486SX, b|ut prefe|
|000039b0| 72 72 61 62 6c 79 20 34 | 38 36 44 58 2c 0d 0a 50 |rrably 4|86DX,..P|
|000039c0| 65 6e 74 69 75 6d 20 6f | 72 20 68 69 67 68 65 72 |entium o|r higher|
|000039d0| 2e 0d 0a 54 68 65 20 66 | 75 6c 6c 20 28 72 65 67 |...The f|ull (reg|
|000039e0| 69 73 74 65 72 65 64 29 | 20 76 65 72 73 69 6f 6e |istered)| version|
|000039f0| 20 63 6f 6e 74 61 69 6e | 73 20 6c 69 62 72 61 72 | contain|s librar|
|00003a00| 69 65 73 20 66 6f 72 20 | 61 6c 6c 20 6d 65 6d 6f |ies for |all memo|
|00003a10| 72 79 20 6d 6f 64 65 6c | 73 20 6f 66 0d 0a 44 4f |ry model|s of..DO|
|00003a20| 53 2c 20 31 36 2d 62 69 | 74 20 57 69 6e 64 6f 77 |S, 16-bi|t Window|
|00003a30| 73 20 61 6e 64 20 33 32 | 2d 62 69 74 20 57 69 6e |s and 32|-bit Win|
|00003a40| 64 6f 77 73 2e 20 54 68 | 65 73 65 20 6c 69 62 72 |dows. Th|ese libr|
|00003a50| 61 72 69 65 73 20 69 6e | 20 74 75 72 6e 20 61 72 |aries in| turn ar|
|00003a60| 65 20 73 68 69 70 70 65 | 64 0d 0a 69 6e 20 74 68 |e shippe|d..in th|
|00003a70| 72 65 65 20 76 65 72 73 | 69 6f 6e 73 3a 0d 0a 6f |ree vers|ions:..o|
|00003a80| 6e 65 20 66 6f 72 20 34 | 38 36 44 58 20 61 6e 64 |ne for 4|86DX and|
|00003a90| 20 50 65 6e 74 69 75 6d | 20 63 6f 6d 70 75 74 65 | Pentium| compute|
|00003aa0| 72 73 2c 20 74 68 65 20 | 73 65 63 6f 6e 64 20 66 |rs, the |second f|
|00003ab0| 6f 72 20 33 38 36 20 77 | 69 74 68 20 33 38 37 2c |or 386 w|ith 387,|
|00003ac0| 0d 0a 74 68 65 20 74 68 | 69 72 64 20 66 6f 72 20 |..the th|ird for |
|00003ad0| 32 38 36 20 77 69 74 68 | 20 6f 72 20 77 69 74 68 |286 with| or with|
|00003ae0| 6f 75 74 20 63 6f 70 72 | 6f 63 65 73 73 6f 72 2c |out copr|ocessor,|
|00003af0| 20 69 2e 65 2e 20 77 69 | 74 68 20 65 6d 75 6c 61 | i.e. wi|th emula|
|00003b00| 74 69 6f 6e 2e 0d 0a 0d | 0a 0d 0a 31 2e 32 20 4c |tion....|...1.2 L|
|00003b10| 69 63 65 6e 63 65 20 54 | 65 72 6d 73 0d 0a 2d 2d |icence T|erms..--|
|00003b20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00003b30| 0a 0d 0a 54 68 69 73 20 | 69 73 20 74 68 65 20 45 |...This |is the E|
|00003b40| 6e 67 6c 69 73 68 20 53 | 68 61 72 65 77 61 72 65 |nglish S|hareware|
|00003b50| 20 76 65 72 73 69 6f 6e | 20 6f 66 20 43 4d 41 54 | version| of CMAT|
|00003b60| 48 20 66 6f 72 20 42 6f | 72 6c 61 6e 64 20 43 2b |H for Bo|rland C+|
|00003b70| 2b 20 28 22 53 6f 66 74 | 77 61 72 65 22 29 2e 0d |+ ("Soft|ware")..|
|00003b80| 0a 49 74 20 6d 61 79 20 | 62 65 20 75 73 65 64 20 |.It may |be used |
|00003b90| 75 6e 64 65 72 20 74 68 | 65 20 66 6f 6c 6c 6f 77 |under th|e follow|
|00003ba0| 69 6e 67 20 6c 69 63 65 | 6e 63 65 20 74 65 72 6d |ing lice|nce term|
|00003bb0| 73 3a 0d 0a 0d 0a 31 2e | 20 59 6f 75 20 6d 61 79 |s:....1.| You may|
|00003bc0| 20 74 65 73 74 20 74 68 | 65 20 53 4f 46 54 57 41 | test th|e SOFTWA|
|00003bd0| 52 45 20 66 72 65 65 20 | 6f 66 20 63 68 61 72 67 |RE free |of charg|
|00003be0| 65 20 66 6f 72 20 61 6e | 20 75 6e 6c 69 6d 69 74 |e for an| unlimit|
|00003bf0| 65 64 20 70 65 72 69 6f | 64 20 6f 66 20 74 69 6d |ed perio|d of tim|
|00003c00| 65 2e 0d 0a 20 20 20 54 | 68 69 73 20 74 65 73 74 |e... T|his test|
|00003c10| 69 6e 67 20 70 68 61 73 | 65 20 65 6e 64 73 20 77 |ing phas|e ends w|
|00003c20| 68 65 6e 20 79 6f 75 20 | 70 65 72 6d 61 6e 65 6e |hen you |permanen|
|00003c30| 74 6c 79 20 69 6e 74 65 | 67 72 61 74 65 20 66 75 |tly inte|grate fu|
|00003c40| 6e 63 74 69 6f 6e 73 20 | 6f 66 20 74 68 69 73 0d |nctions |of this.|
|00003c50| 0a 20 20 20 53 4f 46 54 | 57 41 52 45 20 69 6e 74 |. SOFT|WARE int|
|00003c60| 6f 20 61 6e 79 20 6f 66 | 20 79 6f 75 72 20 61 70 |o any of| your ap|
|00003c70| 70 6c 69 63 61 74 69 6f | 6e 73 20 28 70 72 6f 67 |plicatio|ns (prog|
|00003c80| 72 61 6d 73 2c 20 70 72 | 6f 67 72 61 6d 20 70 61 |rams, pr|ogram pa|
|00003c90| 72 74 73 2e 2e 2e 29 2e | 0d 0a 32 2e 20 49 66 20 |rts...).|..2. If |
|00003ca0| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 75 73 65 20 |you want| to use |
|00003cb0| 74 68 69 73 20 53 4f 46 | 54 57 41 52 45 20 66 6f |this SOF|TWARE fo|
|00003cc0| 72 20 63 6f 6d 6d 65 72 | 63 69 61 6c 20 70 75 72 |r commer|cial pur|
|00003cd0| 70 6f 73 65 73 2c 20 79 | 6f 75 20 68 61 76 65 0d |poses, y|ou have.|
|00003ce0| 0a 20 20 20 74 6f 20 70 | 75 72 63 68 61 73 65 20 |. to p|urchase |
|00003cf0| 74 68 65 20 72 65 67 69 | 73 74 65 72 65 64 20 76 |the regi|stered v|
|00003d00| 65 72 73 69 6f 6e 20 28 | 73 65 65 20 63 68 61 70 |ersion (|see chap|
|00003d10| 74 65 72 20 31 2e 33 29 | 2e 0d 0a 33 2e 20 55 73 |ter 1.3)|...3. Us|
|00003d20| 65 20 6f 66 20 74 68 69 | 73 20 53 4f 46 54 57 41 |e of thi|s SOFTWA|
|00003d30| 52 45 20 66 6f 72 20 65 | 64 75 63 61 74 69 6f 6e |RE for e|ducation|
|00003d40| 61 6c 20 70 75 72 70 6f | 73 65 73 20 61 74 20 73 |al purpo|ses at s|
|00003d50| 63 68 6f 6f 6c 73 20 61 | 6e 64 20 75 6e 69 76 65 |chools a|nd unive|
|00003d60| 72 73 69 74 69 65 73 0d | 0a 20 20 20 72 65 6d 61 |rsities.|. rema|
|00003d70| 69 6e 73 20 66 72 65 65 | 20 6f 66 20 63 68 61 72 |ins free| of char|
|00003d80| 67 65 2e 20 48 6f 77 65 | 76 65 72 2c 20 69 66 20 |ge. Howe|ver, if |
|00003d90| 61 6e 79 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |any appl|ication |
|00003da0| 63 72 65 61 74 65 64 20 | 75 6e 64 65 72 20 74 68 |created |under th|
|00003db0| 65 73 65 0d 0a 20 20 20 | 74 65 72 6d 73 20 69 73 |ese.. |terms is|
|00003dc0| 20 73 6f 6c 64 20 74 6f | 20 6f 74 68 65 72 73 20 | sold to| others |
|00003dd0| 6f 72 20 6f 74 68 65 72 | 77 69 73 65 20 75 73 65 |or other|wise use|
|00003de0| 64 20 66 6f 72 20 63 6f | 6d 6d 65 72 63 69 61 6c |d for co|mmercial|
|00003df0| 20 70 75 72 70 6f 73 65 | 73 2c 0d 0a 20 20 20 70 | purpose|s,.. p|
|00003e00| 61 72 61 67 72 61 70 68 | 20 32 20 61 70 70 6c 69 |aragraph| 2 appli|
|00003e10| 65 73 2e 0d 0a 34 2e 20 | 44 69 73 74 72 69 62 75 |es...4. |Distribu|
|00003e20| 74 69 6e 67 20 74 68 69 | 73 20 53 4f 46 54 57 41 |ting thi|s SOFTWA|
|00003e30| 52 45 20 74 6f 20 6f 74 | 68 65 72 73 20 69 73 20 |RE to ot|hers is |
|00003e40| 61 6c 6c 6f 77 65 64 20 | 6f 6e 6c 79 20 69 6e 20 |allowed |only in |
|00003e50| 6f 6e 65 20 6f 66 20 74 | 68 65 0d 0a 20 20 20 66 |one of t|he.. f|
|00003e60| 6f 6c 6c 6f 77 69 6e 67 | 20 74 77 6f 20 77 61 79 |ollowing| two way|
|00003e70| 73 3a 0d 0a 20 20 20 61 | 29 20 6c 69 6e 6b 65 64 |s:.. a|) linked|
|00003e80| 20 69 6e 74 6f 20 79 6f | 75 72 20 70 72 6f 67 72 | into yo|ur progr|
|00003e90| 61 6d 73 2c 20 73 6f 20 | 74 68 61 74 20 74 68 65 |ams, so |that the|
|00003ea0| 20 70 61 72 74 73 20 73 | 74 65 6d 6d 69 6e 67 20 | parts s|temming |
|00003eb0| 66 72 6f 6d 20 74 68 69 | 73 0d 0a 20 20 20 20 20 |from thi|s.. |
|00003ec0| 20 53 4f 46 54 57 41 52 | 45 20 64 6f 20 6e 6f 20 | SOFTWAR|E do no |
|00003ed0| 6c 6f 6e 67 65 72 20 61 | 70 70 65 61 72 20 61 73 |longer a|ppear as|
|00003ee0| 20 61 20 6c 69 62 72 61 | 72 79 2e 0d 0a 20 20 20 | a libra|ry... |
|00003ef0| 62 29 20 61 73 20 61 20 | 77 68 6f 6c 65 20 69 6e |b) as a |whole in|
|00003f00| 20 75 6e 63 68 61 6e 67 | 65 64 20 66 6f 72 6d 20 | unchang|ed form |
|00003f10| 28 69 6e 20 70 61 72 74 | 69 63 75 6c 61 72 20 74 |(in part|icular t|
|00003f20| 68 65 20 43 6f 70 79 72 | 69 67 68 74 20 61 6e 64 |he Copyr|ight and|
|00003f30| 20 4c 69 63 65 6e 63 65 | 0d 0a 20 20 20 20 20 20 | Licence|.. |
|00003f40| 73 74 61 74 65 6d 65 6e | 74 73 21 29 2c 20 77 68 |statemen|ts!), wh|
|00003f50| 65 72 65 62 79 20 79 6f | 75 20 6d 61 79 20 61 73 |ereby yo|u may as|
|00003f60| 6b 20 61 20 66 65 65 20 | 6f 6e 6c 79 20 61 6e 64 |k a fee |only and|
|00003f70| 20 65 78 63 6c 75 73 69 | 76 65 6c 79 20 66 6f 72 | exclusi|vely for|
|00003f80| 20 74 68 65 0d 0a 20 20 | 20 20 20 20 70 68 79 73 | the.. | phys|
|00003f90| 69 63 61 6c 20 61 63 74 | 20 6f 66 20 63 6f 70 79 |ical act| of copy|
|00003fa0| 69 6e 67 20 74 68 65 20 | 53 4f 46 54 57 41 52 45 |ing the |SOFTWARE|
|00003fb0| 2e 0d 0a 35 2e 20 54 68 | 69 73 20 53 4f 46 54 57 |...5. Th|is SOFTW|
|00003fc0| 41 52 45 20 69 73 20 70 | 72 6f 76 69 64 65 64 20 |ARE is p|rovided |
|00003fd0| 6f 6e 20 61 6e 20 22 61 | 73 20 69 73 22 20 62 61 |on an "a|s is" ba|
|00003fe0| 73 69 73 2e 20 41 6e 79 | 20 65 78 70 6c 69 63 69 |sis. Any| explici|
|00003ff0| 74 20 6f 72 20 69 6d 70 | 6c 69 63 69 74 0d 0a 20 |t or imp|licit.. |
|00004000| 20 20 77 61 72 72 61 6e | 74 69 65 73 20 66 6f 72 | warran|ties for|
|00004010| 20 74 68 65 20 53 4f 46 | 54 57 41 52 45 20 61 72 | the SOF|TWARE ar|
|00004020| 65 20 65 78 63 6c 75 64 | 65 64 2e 0d 0a 20 20 20 |e exclud|ed... |
|00004030| 44 65 73 70 69 74 65 20 | 74 68 6f 72 6f 75 67 68 |Despite |thorough|
|00004040| 20 74 65 73 74 69 6e 67 | 20 6f 66 20 74 68 65 20 | testing| of the |
|00004050| 53 4f 46 54 57 41 52 45 | 2c 20 65 72 72 6f 72 73 |SOFTWARE|, errors|
|00004060| 20 61 6e 64 20 62 75 67 | 73 20 63 61 6e 6e 6f 74 | and bug|s cannot|
|00004070| 0d 0a 20 20 20 62 65 20 | 65 78 63 6c 75 64 65 64 |.. be |excluded|
|00004080| 20 77 69 74 68 20 63 65 | 72 74 61 69 6e 74 79 2e | with ce|rtainty.|
|00004090| 20 4e 6f 20 63 6c 61 69 | 6d 73 20 61 73 20 74 6f | No clai|ms as to|
|000040a0| 20 6d 65 72 63 68 61 6e | 74 61 62 69 6c 69 74 79 | merchan|tability|
|000040b0| 20 6f 72 20 66 69 74 6e | 65 73 73 0d 0a 20 20 20 | or fitn|ess.. |
|000040c0| 66 6f 72 20 61 20 70 61 | 72 74 69 63 75 6c 61 72 |for a pa|rticular|
|000040d0| 20 70 75 72 70 6f 73 65 | 20 61 72 65 20 6d 61 64 | purpose| are mad|
|000040e0| 65 2e 0d 0a 20 20 20 59 | 6f 75 20 6d 61 79 20 6e |e... Y|ou may n|
|000040f0| 6f 74 20 75 73 65 20 74 | 68 65 20 53 4f 46 54 57 |ot use t|he SOFTW|
|00004100| 41 52 45 20 69 6e 20 61 | 6e 79 20 65 6e 76 69 72 |ARE in a|ny envir|
|00004110| 6f 6e 6d 65 6e 74 20 6f | 72 20 73 69 74 75 61 74 |onment o|r situat|
|00004120| 69 6f 6e 20 77 68 65 72 | 65 0d 0a 20 20 20 70 65 |ion wher|e.. pe|
|00004130| 72 73 6f 6e 61 6c 20 69 | 6e 6a 75 72 79 20 6f 72 |rsonal i|njury or|
|00004140| 20 65 78 63 65 73 73 69 | 76 65 20 64 61 6d 61 67 | excessi|ve damag|
|00004150| 65 20 74 6f 20 61 6e 79 | 6f 6e 65 27 73 20 70 72 |e to any|one's pr|
|00004160| 6f 70 65 72 74 79 20 28 | 69 6e 63 6c 75 64 69 6e |operty (|includin|
|00004170| 67 0d 0a 20 20 20 79 6f | 75 72 20 6f 77 6e 29 20 |g.. yo|ur own) |
|00004180| 63 6f 75 6c 64 20 61 72 | 69 73 65 20 66 72 6f 6d |could ar|ise from|
|00004190| 20 6d 61 6c 66 75 6e 63 | 74 69 6f 6e 69 6e 67 20 | malfunc|tioning |
|000041a0| 6f 66 20 74 68 65 20 53 | 4f 46 54 57 41 52 45 2e |of the S|OFTWARE.|
|000041b0| 0d 0a 0d 0a 0d 0a 43 6f | 70 79 72 69 67 68 74 20 |......Co|pyright |
|000041c0| 66 6f 72 20 74 68 65 20 | 53 4f 46 54 57 41 52 45 |for the |SOFTWARE|
|000041d0| 20 61 6e 64 20 69 74 73 | 20 64 6f 63 75 6d 65 6e | and its| documen|
|000041e0| 74 61 74 69 6f 6e 20 28 | 43 29 20 31 39 39 36 2d |tation (|C) 1996-|
|000041f0| 31 39 39 38 20 4d 61 72 | 74 69 6e 20 53 61 6e 64 |1998 Mar|tin Sand|
|00004200| 65 72 0d 0a 0d 0a 41 6c | 6c 20 72 69 67 68 74 73 |er....Al|l rights|
|00004210| 20 72 65 73 65 72 76 65 | 64 2c 20 69 6e 63 6c 75 | reserve|d, inclu|
|00004220| 64 69 6e 67 20 74 68 6f | 73 65 20 6f 66 20 74 72 |ding tho|se of tr|
|00004230| 61 6e 73 6c 61 74 69 6f | 6e 20 69 6e 74 6f 20 66 |anslatio|n into f|
|00004240| 6f 72 65 69 67 6e 20 6c | 61 6e 67 75 61 67 65 73 |oreign l|anguages|
|00004250| 2e 0d 0a 0d 0a 41 64 64 | 72 65 73 73 20 6f 66 20 |.....Add|ress of |
|00004260| 74 68 65 20 61 75 74 68 | 6f 72 3a 0d 0a 20 20 20 |the auth|or:.. |
|00004270| 20 20 20 20 20 20 20 20 | 20 20 20 44 72 2e 20 4d | | Dr. M|
|00004280| 61 72 74 69 6e 20 53 61 | 6e 64 65 72 20 53 6f 66 |artin Sa|nder Sof|
|00004290| 74 77 61 72 65 20 44 65 | 76 65 6c 6f 70 6d 65 6e |tware De|velopmen|
|000042a0| 74 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |t.. | |
|000042b0| 20 53 65 72 74 81 72 6e | 65 72 73 74 72 2e 20 31 | Sert.rn|erstr. 1|
|000042c0| 31 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |1.. | |
|000042d0| 20 44 2d 33 37 30 38 35 | 20 47 94 74 74 69 6e 67 | D-37085| G.tting|
|000042e0| 65 6e 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |en.. | |
|000042f0| 20 20 47 65 72 6d 61 6e | 79 0d 0a 20 20 20 20 20 | German|y.. |
|00004300| 20 20 20 20 20 20 20 20 | 20 65 2d 6d 61 69 6c 3a | | e-mail:|
|00004310| 20 4d 61 72 74 69 6e 53 | 61 6e 64 65 72 40 42 69 | MartinS|ander@Bi|
|00004320| 67 66 6f 6f 74 2e 63 6f | 6d 0d 0a 0d 0a 0d 0a 0d |gfoot.co|m.......|
|00004330| 0a 31 2e 33 20 52 65 67 | 69 73 74 65 72 65 64 20 |.1.3 Reg|istered |
|00004340| 56 65 72 73 69 6f 6e 0d | 0a 2d 2d 2d 2d 2d 2d 2d |Version.|.-------|
|00004350| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|00004360| 0a 0d 0a 54 68 65 20 66 | 75 6c 6c 20 28 72 65 67 |...The f|ull (reg|
|00004370| 69 73 74 65 72 65 64 29 | 20 76 65 72 73 69 6f 6e |istered)| version|
|00004380| 20 6f 66 20 43 4d 41 54 | 48 0d 0a 0d 0a 2d 20 20 | of CMAT|H....- |
|00004390| 73 75 70 70 6f 72 74 73 | 20 61 6c 6c 20 6d 65 6d |supports| all mem|
|000043a0| 6f 72 79 20 6d 6f 64 65 | 6c 73 20 6f 66 20 57 69 |ory mode|ls of Wi|
|000043b0| 6e 64 6f 77 73 39 35 2c | 20 4e 54 2c 20 33 2e 78 |ndows95,| NT, 3.x|
|000043c0| 2c 20 61 6e 64 20 44 4f | 53 0d 0a 0d 0a 2d 20 20 |, and DO|S....- |
|000043d0| 68 61 73 20 69 6e 64 69 | 76 69 64 75 61 6c 6c 79 |has indi|vidually|
|000043e0| 20 6f 70 74 69 6d 69 7a | 65 64 20 6c 69 62 72 61 | optimiz|ed libra|
|000043f0| 72 69 65 73 20 66 6f 72 | 20 65 61 63 68 20 64 65 |ries for| each de|
|00004400| 67 72 65 65 20 6f 66 20 | 70 72 6f 63 65 73 73 6f |gree of |processo|
|00004410| 72 0d 0a 20 20 20 62 61 | 63 6b 77 61 72 64 2d 63 |r.. ba|ckward-c|
|00004420| 6f 6d 70 61 74 69 62 69 | 6c 69 74 79 3a 0d 0a 20 |ompatibi|lity:.. |
|00004430| 20 20 20 20 20 34 38 36 | 44 58 2f 50 65 6e 74 69 | 486|DX/Penti|
|00004440| 75 6d 2b 0d 0a 20 20 20 | 20 20 20 33 38 36 2b 20 |um+.. | 386+ |
|00004450| 28 33 38 37 20 63 6f 70 | 72 6f 63 65 73 73 6f 72 |(387 cop|rocessor|
|00004460| 20 72 65 71 75 69 72 65 | 64 29 0d 0a 20 20 20 20 | require|d).. |
|00004470| 20 20 32 38 36 2b 20 28 | 6e 6f 20 63 6f 70 72 6f | 286+ (|no copro|
|00004480| 63 65 73 73 6f 72 20 72 | 65 71 75 69 72 65 64 29 |cessor r|equired)|
|00004490| 2e 0d 0a 0d 0a 2d 20 20 | 63 6f 6d 65 73 20 77 69 |.....- |comes wi|
|000044a0| 74 68 20 70 72 69 6e 74 | 65 64 20 64 6f 63 75 6d |th print|ed docum|
|000044b0| 65 6e 74 61 74 69 6f 6e | 2e 0d 0a 0d 0a 2d 20 20 |entation|.....- |
|000044c0| 63 61 6e 20 62 65 20 6f | 72 64 65 72 65 64 20 61 |can be o|rdered a|
|000044d0| 74 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |t the fo|llowing |
|000044e0| 63 6f 6e 64 69 74 69 6f | 6e 73 3a 0d 0a 0d 0a 20 |conditio|ns:.... |
|000044f0| 20 20 61 29 20 69 66 20 | 79 6f 75 20 63 61 6e 20 | a) if |you can |
|00004500| 70 61 79 20 69 6e 20 47 | 65 72 6d 61 6e 20 4d 61 |pay in G|erman Ma|
|00004510| 72 6b 73 20 28 66 72 6f | 6d 20 31 39 39 39 20 6f |rks (fro|m 1999 o|
|00004520| 6e 3a 20 69 6e 20 45 75 | 72 6f 29 0d 0a 20 20 20 |n: in Eu|ro).. |
|00004530| 20 20 20 61 6e 64 20 6f | 72 64 65 72 20 64 69 72 | and o|rder dir|
|00004540| 65 63 74 6c 79 20 66 72 | 6f 6d 20 74 68 65 20 61 |ectly fr|om the a|
|00004550| 75 74 68 6f 72 2c 20 74 | 68 65 20 70 72 69 63 65 |uthor, t|he price|
|00004560| 20 69 73 0d 0a 20 20 20 | 20 20 20 44 4d 20 20 39 | is.. | DM 9|
|00004570| 39 2c 2d 20 66 6f 72 20 | 20 31 20 75 6e 69 74 2c |9,- for | 1 unit,|
|00004580| 0d 0a 20 20 20 20 20 20 | 44 4d 20 33 35 30 2c 2d |.. |DM 350,-|
|00004590| 20 66 6f 72 20 20 35 20 | 75 6e 69 74 73 2c 0d 0a | for 5 |units,..|
|000045a0| 20 20 20 20 20 20 44 4d | 20 36 30 30 2c 2d 20 66 | DM| 600,- f|
|000045b0| 6f 72 20 31 30 20 75 6e | 69 74 73 20 20 20 20 28 |or 10 un|its (|
|000045c0| 69 6e 63 6c 2e 20 31 36 | 25 20 56 41 54 2c 20 70 |incl. 16|% VAT, p|
|000045d0| 6c 75 73 20 44 4d 20 31 | 30 2c 2d 20 68 61 6e 64 |lus DM 1|0,- hand|
|000045e0| 6c 69 6e 67 20 63 68 61 | 72 67 65 29 2e 0d 0a 20 |ling cha|rge)... |
|000045f0| 20 20 20 20 20 50 6c 65 | 61 73 65 20 6f 72 64 65 | Ple|ase orde|
|00004600| 72 20 62 79 20 73 65 6e | 64 69 6e 67 20 61 6e 20 |r by sen|ding an |
|00004610| 65 2d 6d 61 69 6c 20 74 | 6f 20 4d 61 72 74 69 6e |e-mail t|o Martin|
|00004620| 53 61 6e 64 65 72 40 62 | 69 67 66 6f 6f 74 2e 63 |Sander@b|igfoot.c|
|00004630| 6f 6d 0d 0a 20 20 20 20 | 20 20 6f 72 20 75 73 65 |om.. | or use|
|00004640| 20 61 20 70 72 69 6e 74 | 2d 6f 75 74 20 6f 66 20 | a print|-out of |
|00004650| 74 68 65 20 66 69 6c 65 | 20 4f 52 44 45 52 2e 54 |the file| ORDER.T|
|00004660| 58 54 2e 0d 0a 20 20 20 | 20 20 20 50 61 79 6d 65 |XT... | Payme|
|00004670| 6e 74 20 6f 70 74 69 6f | 6e 73 3a 0d 0a 20 20 20 |nt optio|ns:.. |
|00004680| 20 20 20 20 20 20 20 2d | 20 70 72 65 2d 70 61 69 | -| pre-pai|
|00004690| 64 20 62 79 20 44 4d 20 | 45 75 72 6f 63 68 65 71 |d by DM |Eurocheq|
|000046a0| 75 65 0d 0a 20 20 20 20 | 20 20 20 20 20 20 2d 20 |ue.. | - |
|000046b0| 43 2e 4f 2e 44 2e 20 28 | 43 61 73 68 2d 4f 6e 2d |C.O.D. (|Cash-On-|
|000046c0| 44 65 6c 69 76 65 72 79 | 29 0d 0a 20 20 20 20 20 |Delivery|).. |
|000046d0| 20 20 20 20 20 2d 20 75 | 70 6f 6e 20 69 6e 76 6f | - u|pon invo|
|000046e0| 69 63 65 20 28 6f 6e 6c | 79 20 77 69 74 68 69 6e |ice (onl|y within|
|000046f0| 20 47 65 72 6d 61 6e 79 | 2c 20 6e 65 74 20 31 34 | Germany|, net 14|
|00004700| 20 64 61 79 73 29 0d 0a | 0d 0a 20 20 20 20 20 20 | days)..|.. |
|00004710| 49 66 20 79 6f 75 20 68 | 61 76 65 20 61 20 45 75 |If you h|ave a Eu|
|00004720| 72 6f 70 65 61 6e 20 56 | 41 54 20 49 44 2c 20 6f |ropean V|AT ID, o|
|00004730| 72 20 69 66 20 79 6f 75 | 20 6f 72 64 65 72 20 66 |r if you| order f|
|00004740| 72 6f 6d 20 6f 75 74 73 | 69 64 65 20 74 68 65 0d |rom outs|ide the.|
|00004750| 0a 20 20 20 20 20 20 45 | 75 72 6f 70 65 61 6e 20 |. E|uropean |
|00004760| 55 6e 69 6f 6e 2c 20 79 | 6f 75 20 61 72 65 20 65 |Union, y|ou are e|
|00004770| 78 65 6d 70 74 20 66 72 | 6f 6d 20 74 68 65 20 47 |xempt fr|om the G|
|00004780| 65 72 6d 61 6e 20 56 41 | 54 2c 20 62 75 74 20 79 |erman VA|T, but y|
|00004790| 6f 75 20 6d 61 79 0d 0a | 20 20 20 20 20 20 68 61 |ou may..| ha|
|000047a0| 76 65 20 74 6f 20 70 61 | 79 20 79 6f 75 72 20 6c |ve to pa|y your l|
|000047b0| 6f 63 61 6c 20 56 41 54 | 20 61 6e 64 2f 6f 72 20 |ocal VAT| and/or |
|000047c0| 69 6d 70 6f 72 74 20 64 | 75 74 69 65 73 20 61 63 |import d|uties ac|
|000047d0| 63 6f 72 64 69 6e 67 20 | 74 6f 0d 0a 20 20 20 20 |cording |to.. |
|000047e0| 20 20 6c 6f 63 61 6c 20 | 6c 61 77 73 2e 0d 0a 0d | local |laws....|
|000047f0| 0a 20 20 20 62 29 20 49 | 6e 74 65 72 6e 61 74 69 |. b) I|nternati|
|00004800| 6f 6e 61 6c 20 63 72 65 | 64 69 74 20 63 61 72 64 |onal cre|dit card|
|00004810| 20 6f 72 20 55 53 2d 24 | 20 63 68 65 71 75 65 20 | or US-$| cheque |
|00004820| 70 61 79 6d 65 6e 74 20 | 69 73 20 70 6f 73 73 69 |payment |is possi|
|00004830| 62 6c 65 20 62 79 0d 0a | 20 20 20 20 20 20 6f 72 |ble by..| or|
|00004840| 64 65 72 69 6e 67 20 74 | 68 72 6f 75 67 68 20 74 |dering t|hrough t|
|00004850| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 77 65 62 |he follo|wing web|
|00004860| 2d 73 69 74 65 73 3a 0d | 0a 0d 0a 20 20 20 20 20 |-sites:.|... |
|00004870| 20 68 74 74 70 3a 2f 2f | 77 77 77 2e 61 74 6c 61 | http://|www.atla|
|00004880| 6e 74 69 63 2d 63 6f 61 | 73 74 2e 63 6f 6d 2f 63 |ntic-coa|st.com/c|
|00004890| 67 69 2d 62 69 6e 2f 73 | 65 6c 6c 6f 6e 6c 69 6e |gi-bin/s|ellonlin|
|000048a0| 65 2f 31 33 36 2e 68 74 | 6d 0d 0a 20 20 20 20 20 |e/136.ht|m.. |
|000048b0| 20 24 20 36 30 20 66 6f | 72 20 20 31 20 75 6e 69 | $ 60 fo|r 1 uni|
|000048c0| 74 2c 0d 0a 20 20 20 20 | 20 20 24 32 30 30 20 66 |t,.. | $200 f|
|000048d0| 6f 72 20 20 35 20 75 6e | 69 74 73 2c 0d 0a 20 20 |or 5 un|its,.. |
|000048e0| 20 20 20 20 24 33 35 30 | 20 66 6f 72 20 31 30 20 | $350| for 10 |
|000048f0| 75 6e 69 74 73 0d 0a 20 | 20 20 20 20 20 41 64 64 |units.. | Add|
|00004900| 20 24 35 20 66 6f 72 20 | 73 68 69 70 70 69 6e 67 | $5 for |shipping|
|00004910| 26 68 61 6e 64 6c 69 6e | 67 20 61 6e 64 20 61 70 |&handlin|g and ap|
|00004920| 70 6c 69 63 61 62 6c 65 | 20 56 41 54 2e 0d 0a 0d |plicable| VAT....|
|00004930| 0a 0d 0a 20 20 20 20 20 | 20 68 74 74 70 3a 2f 2f |... | http://|
|00004940| 77 77 77 2e 73 68 61 72 | 65 69 74 2e 63 6f 6d 2f |www.shar|eit.com/|
|00004950| 70 72 6f 67 72 61 6d 73 | 2f 31 30 31 33 35 33 2e |programs|/101353.|
|00004960| 68 74 6d 0d 0a 20 20 20 | 20 20 20 50 72 69 63 65 |htm.. | Price|
|00004970| 3a 20 24 36 35 20 28 69 | 6e 63 6c 75 64 69 6e 67 |: $65 (i|ncluding|
|00004980| 20 53 26 48 29 2e 20 41 | 64 64 20 61 70 70 6c 69 | S&H). A|dd appli|
|00004990| 63 61 62 6c 65 20 56 41 | 54 2e 0d 0a 20 20 20 20 |cable VA|T... |
|000049a0| 20 20 41 6c 74 65 72 6e | 61 74 69 76 65 6c 79 2c | Altern|atively,|
|000049b0| 20 73 65 6e 64 20 61 6e | 20 65 2d 6d 61 69 6c 20 | send an| e-mail |
|000049c0| 74 6f 20 72 65 67 69 73 | 74 65 72 40 73 68 61 72 |to regis|ter@shar|
|000049d0| 65 69 74 2e 63 6f 6d 0d | 0a 20 20 20 20 20 20 55 |eit.com.|. U|
|000049e0| 53 20 63 75 73 74 6f 6d | 65 72 73 20 6d 61 79 20 |S custom|ers may |
|000049f0| 61 6c 73 6f 20 6f 72 64 | 65 72 20 62 79 20 63 61 |also ord|er by ca|
|00004a00| 6c 6c 69 6e 67 20 31 2d | 38 30 30 2d 39 30 33 2d |lling 1-|800-903-|
|00004a10| 34 31 35 32 0d 0a 20 20 | 20 20 20 20 28 6f 72 64 |4152.. | (ord|
|00004a20| 65 72 73 20 6f 6e 6c 79 | 20 70 6c 65 61 73 65 21 |ers only| please!|
|00004a30| 29 2e 20 55 53 20 63 68 | 65 63 6b 20 61 6e 64 20 |). US ch|eck and |
|00004a40| 63 61 73 68 20 6f 72 64 | 65 72 73 20 63 61 6e 20 |cash ord|ers can |
|00004a50| 62 65 20 73 65 6e 74 20 | 74 6f 20 0d 0a 20 20 20 |be sent |to .. |
|00004a60| 20 20 20 53 68 61 72 65 | 49 74 21 27 73 20 55 53 | Share|It!'s US|
|00004a70| 20 6f 66 66 69 63 65 20 | 61 74 0d 0a 20 20 20 20 | office |at.. |
|00004a80| 20 20 20 20 20 20 20 53 | 68 61 72 65 49 74 21 20 | S|hareIt! |
|00004a90| 49 6e 63 2e 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |Inc... | |
|00004aa0| 20 50 2e 4f 2e 20 42 6f | 78 20 39 37 38 34 31 20 | P.O. Bo|x 97841 |
|00004ab0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 50 69 74 |.. | Pit|
|00004ac0| 74 73 62 75 72 67 68 2c | 20 50 41 20 31 35 32 32 |tsburgh,| PA 1522|
|00004ad0| 37 2d 30 32 34 31 0d 0a | 20 20 20 20 20 20 20 20 |7-0241..| |
|00004ae0| 20 20 20 55 53 41 0d 0a | 20 20 20 20 20 20 2a 20 | USA..| * |
|00004af0| 50 6c 65 61 73 65 20 6e | 6f 74 65 20 74 68 65 20 |Please n|ote the |
|00004b00| 70 72 6f 67 72 61 6d 20 | 4e 6f 2e 3a 20 31 30 31 |program |No.: 101|
|00004b10| 33 35 33 20 77 68 65 6e | 20 6f 72 64 65 72 69 6e |353 when| orderin|
|00004b20| 67 20 74 68 72 6f 75 67 | 68 20 53 68 61 72 65 49 |g throug|h ShareI|
|00004b30| 74 21 20 2a 0d 0a 0d 0a | 0d 0a 20 20 20 20 20 20 |t! *....|.. |
|00004b40| 55 53 44 20 70 72 69 63 | 65 73 20 61 72 65 20 73 |USD pric|es are s|
|00004b50| 75 62 6a 65 63 74 20 74 | 6f 20 63 68 61 6e 67 65 |ubject t|o change|
|00004b60| 20 77 69 74 68 6f 75 74 | 20 6e 6f 74 69 63 65 2c | without| notice,|
|00004b70| 20 65 73 70 65 63 69 61 | 6c 6c 79 20 69 6e 20 74 | especia|lly in t|
|00004b80| 68 65 20 63 61 73 65 0d | 0a 20 20 20 20 20 20 6f |he case.|. o|
|00004b90| 66 20 73 74 72 6f 6e 67 | 20 65 78 63 68 61 6e 67 |f strong| exchang|
|00004ba0| 65 2d 72 61 74 65 20 66 | 6c 75 63 74 75 61 74 69 |e-rate f|luctuati|
|00004bb0| 6f 6e 73 2e 20 50 6c 65 | 61 73 65 20 73 65 65 20 |ons. Ple|ase see |
|00004bc0| 74 68 65 20 61 63 74 75 | 61 6c 20 70 72 69 63 65 |the actu|al price|
|00004bd0| 73 0d 0a 20 20 20 20 20 | 20 61 74 20 74 68 65 20 |s.. | at the |
|00004be0| 77 65 62 2d 73 69 74 65 | 73 20 6d 65 6e 74 69 6f |web-site|s mentio|
|00004bf0| 6e 65 64 2e 0d 0a 0d 0a | 50 75 72 63 68 61 73 69 |ned.....|Purchasi|
|00004c00| 6e 67 20 74 68 65 20 66 | 75 6c 6c 20 28 72 65 67 |ng the f|ull (reg|
|00004c10| 69 73 74 65 72 65 64 29 | 20 76 65 72 73 69 6f 6e |istered)| version|
|00004c20| 20 67 69 76 65 73 20 79 | 6f 75 20 74 68 65 20 72 | gives y|ou the r|
|00004c30| 69 67 68 74 20 74 6f 20 | 75 73 65 20 69 74 20 6f |ight to |use it o|
|00004c40| 6e 0d 0a 61 73 20 6d 61 | 6e 79 20 63 6f 6d 70 75 |n..as ma|ny compu|
|00004c50| 74 65 72 73 20 61 74 20 | 61 20 74 69 6d 65 20 61 |ters at |a time a|
|00004c60| 73 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |s the nu|mber of |
|00004c70| 75 6e 69 74 73 20 79 6f | 75 20 62 6f 75 67 68 74 |units yo|u bought|
|00004c80| 2e 0d 0a 43 6f 72 70 6f | 72 61 74 65 20 73 69 74 |...Corpo|rate sit|
|00004c90| 65 20 61 6e 64 20 77 6f | 72 6c 64 2d 77 69 64 65 |e and wo|rld-wide|
|00004ca0| 20 6c 69 63 65 6e 63 65 | 73 20 61 72 65 20 61 76 | licence|s are av|
|00004cb0| 61 69 6c 61 62 6c 65 20 | 75 70 6f 6e 20 72 65 71 |ailable |upon req|
|00004cc0| 75 65 73 74 2e 0d 0a 0d | 0a 0d 0a 0d 0a 2a 2a 2a |uest....|.....***|
|00004cd0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004ce0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004cf0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004d00| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004d10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 0d 0a 2a 20 20 20 20 |********|*..* |
|00004d20| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d60| 20 20 20 20 20 20 2a 0d | 0a 2a 2a 2a 2a 2a 2a 2a | *.|.*******|
|00004d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004d80| 20 32 2e 20 47 65 74 74 | 69 6e 67 20 53 74 61 72 | 2. Gett|ing Star|
|00004d90| 74 65 64 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ted | |
|00004da0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 2a 2a | | **|
|00004db0| 2a 2a 2a 2a 2a 0d 0a 2a | 20 20 20 20 20 20 20 20 |*****..*| |
|00004dc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004dd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004de0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004df0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004e00| 20 20 2a 0d 0a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *..***|********|
|00004e10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004e20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004e30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004e40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004e50| 2a 0d 0a 0d 0a 32 2e 31 | 20 49 6e 73 74 61 6c 6c |*....2.1| Install|
|00004e60| 61 74 69 6f 6e 0d 0a 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ation..-|--------|
|00004e70| 2d 2d 2d 2d 2d 2d 2d 0d | 0a 49 66 20 79 6f 75 20 |-------.|.If you |
|00004e80| 67 6f 74 20 43 4d 41 54 | 48 20 61 73 20 61 20 70 |got CMAT|H as a p|
|00004e90| 61 72 74 20 6f 66 20 4f | 70 74 69 56 65 63 20 28 |art of O|ptiVec (|
|00004ea0| 61 20 63 6f 6d 70 72 65 | 68 65 6e 73 69 76 65 20 |a compre|hensive |
|00004eb0| 6c 69 62 72 61 72 79 20 | 6f 66 0d 0a 76 65 63 74 |library |of..vect|
|00004ec0| 6f 72 69 7a 65 64 20 66 | 75 6e 63 74 69 6f 6e 73 |orized f|unctions|
|00004ed0| 20 62 79 20 74 68 65 20 | 73 61 6d 65 20 61 75 74 | by the |same aut|
|00004ee0| 68 6f 72 29 2c 20 43 4d | 41 54 48 20 69 73 20 61 |hor), CM|ATH is a|
|00004ef0| 75 74 6f 6d 61 74 69 63 | 61 6c 6c 79 20 69 6e 73 |utomatic|ally ins|
|00004f00| 74 61 6c 6c 65 64 0d 0a | 77 68 65 6e 20 79 6f 75 |talled..|when you|
|00004f10| 20 69 6e 73 74 61 6c 6c | 20 4f 70 74 69 56 65 63 | install| OptiVec|
|00004f20| 20 69 74 73 65 6c 66 2e | 20 49 6e 20 74 68 69 73 | itself.| In this|
|00004f30| 20 63 61 73 65 2c 20 69 | 6e 73 74 61 6c 6c 61 74 | case, i|nstallat|
|00004f40| 69 6f 6e 20 6f 66 20 43 | 4d 41 54 48 20 69 73 0d |ion of C|MATH is.|
|00004f50| 0a 61 6c 72 65 61 64 79 | 20 69 6e 63 6c 75 64 65 |.already| include|
|00004f60| 64 20 61 6e 64 20 79 6f | 75 20 73 68 6f 75 6c 64 |d and yo|u should|
|00004f70| 20 73 6b 69 70 20 74 68 | 69 73 20 63 68 61 70 74 | skip th|is chapt|
|00004f80| 65 72 20 74 6f 20 63 6f | 6e 74 69 6e 75 65 20 77 |er to co|ntinue w|
|00004f90| 69 74 68 20 63 68 61 70 | 74 65 72 20 33 2e 0d 0a |ith chap|ter 3...|
|00004fa0| 0d 0a 4f 74 68 65 72 77 | 69 73 65 2c 20 70 6c 65 |..Otherw|ise, ple|
|00004fb0| 61 73 65 20 6e 6f 74 65 | 20 74 68 65 20 66 6f 6c |ase note| the fol|
|00004fc0| 6c 6f 77 69 6e 67 20 70 | 6f 69 6e 74 73 3a 0d 0a |lowing p|oints:..|
|00004fd0| 0d 0a 31 2e 20 20 49 6e | 20 6f 72 64 65 72 20 74 |..1. In| order t|
|00004fe0| 6f 20 75 73 65 20 43 4d | 41 54 48 2c 20 79 6f 75 |o use CM|ATH, you|
|00004ff0| 20 6e 65 65 64 20 61 6e | 20 61 6c 72 65 61 64 79 | need an| already|
|00005000| 20 69 6e 73 74 61 6c 6c | 65 64 20 63 6f 70 79 20 | install|ed copy |
|00005010| 6f 66 20 42 6f 72 6c 61 | 6e 64 0d 0a 20 20 20 20 |of Borla|nd.. |
|00005020| 43 2f 43 2b 2b 2e 20 49 | 6e 73 74 61 6c 6c 20 43 |C/C++. I|nstall C|
|00005030| 4d 41 54 48 20 62 79 20 | 65 78 65 63 75 74 69 6e |MATH by |executin|
|00005040| 67 20 49 4e 53 54 41 4c | 4c 2e 45 58 45 20 6f 6e |g INSTAL|L.EXE on|
|00005050| 20 74 68 65 20 69 6e 73 | 74 61 6c 6c 61 74 69 6f | the ins|tallatio|
|00005060| 6e 20 64 69 73 6b 2e 0d | 0a 0d 0a 32 2e 20 20 41 |n disk..|...2. A|
|00005070| 64 64 20 74 68 65 20 69 | 6e 73 74 61 6c 6c 61 74 |dd the i|nstallat|
|00005080| 69 6f 6e 20 64 69 72 65 | 63 74 6f 72 79 20 28 77 |ion dire|ctory (w|
|00005090| 68 69 63 68 20 79 6f 75 | 20 63 68 6f 73 65 20 64 |hich you| chose d|
|000050a0| 75 72 69 6e 67 20 69 6e | 73 74 61 6c 6c 61 74 69 |uring in|stallati|
|000050b0| 6f 6e 29 20 74 6f 0d 0a | 20 20 20 20 74 68 65 20 |on) to..| the |
|000050c0| 6c 69 62 72 61 72 79 20 | 73 65 61 72 63 68 20 70 |library |search p|
|000050d0| 61 74 68 20 61 6e 64 20 | 74 6f 20 74 68 65 20 69 |ath and |to the i|
|000050e0| 6e 63 6c 75 64 65 2d 66 | 69 6c 65 20 73 65 61 72 |nclude-f|ile sear|
|000050f0| 63 68 20 70 61 74 68 20 | 6f 66 20 74 68 65 20 49 |ch path |of the I|
|00005100| 44 45 0d 0a 20 20 20 20 | 61 6e 64 20 6f 66 20 74 |DE.. |and of t|
|00005110| 68 65 20 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e |he confi|guration|
|00005120| 20 66 69 6c 65 20 54 55 | 52 42 4f 43 2e 43 46 47 | file TU|RBOC.CFG|
|00005130| 2c 20 69 6e 20 63 61 73 | 65 20 79 6f 75 20 61 72 |, in cas|e you ar|
|00005140| 65 20 75 73 69 6e 67 20 | 74 68 65 0d 0a 20 20 20 |e using |the.. |
|00005150| 20 63 6f 6d 6d 61 6e 64 | 2d 6c 69 6e 65 20 63 6f | command|-line co|
|00005160| 6d 70 69 6c 65 72 2e 0d | 0a 0d 0a 33 2e 20 20 43 |mpiler..|...3. C|
|00005170| 68 6f 6f 73 65 20 74 68 | 65 20 64 65 73 69 72 65 |hoose th|e desire|
|00005180| 64 20 70 6c 61 74 66 6f | 72 6d 20 28 44 4f 53 2c |d platfo|rm (DOS,|
|00005190| 20 57 69 6e 64 6f 77 73 | 33 2e 78 2c 20 6f 72 20 | Windows|3.x, or |
|000051a0| 57 69 6e 33 32 29 2e 0d | 0a 20 20 20 20 49 66 20 |Win32)..|. If |
|000051b0| 79 6f 75 20 63 68 6f 73 | 65 20 44 4f 53 20 6f 72 |you chos|e DOS or|
|000051c0| 20 57 69 6e 64 6f 77 73 | 33 2e 78 2c 20 73 65 6c | Windows|3.x, sel|
|000051d0| 65 63 74 20 74 68 65 20 | 6d 65 6d 6f 72 79 20 6d |ect the |memory m|
|000051e0| 6f 64 65 6c 20 4c 41 52 | 47 45 2e 0d 0a 20 20 20 |odel LAR|GE... |
|000051f0| 20 28 46 6f 72 20 57 69 | 6e 33 32 2c 20 69 74 20 | (For Wi|n32, it |
|00005200| 69 73 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 |is autom|atically|
|00005210| 20 46 4c 41 54 29 2e 0d | 0a 20 20 20 20 59 6f 75 | FLAT)..|. You|
|00005220| 20 73 68 6f 75 6c 64 20 | 61 6c 73 6f 20 63 68 6f | should |also cho|
|00005230| 6f 73 65 20 33 38 36 20 | 63 6f 64 65 20 67 65 6e |ose 386 |code gen|
|00005240| 65 72 61 74 69 6f 6e 20 | 61 6e 64 20 72 65 61 6c |eration |and real|
|00005250| 20 63 6f 70 72 6f 63 65 | 73 73 6f 72 0d 0a 20 20 | coproce|ssor.. |
|00005260| 20 20 63 6f 6d 6d 61 6e | 64 73 20 28 69 2e 65 2e | comman|ds (i.e.|
|00005270| 2c 20 6e 6f 20 65 6d 75 | 6c 61 74 69 6f 6e 29 2e |, no emu|lation).|
|00005280| 0d 0a 0d 0a 34 2e 20 20 | 41 64 64 20 74 68 65 20 |....4. |Add the |
|00005290| 64 65 73 69 72 65 64 20 | 43 4d 41 54 48 20 6c 69 |desired |CMATH li|
|000052a0| 62 72 61 72 79 20 74 6f | 20 79 6f 75 72 20 70 72 |brary to| your pr|
|000052b0| 6f 6a 65 63 74 20 6c 69 | 73 74 2e 20 46 6f 72 20 |oject li|st. For |
|000052c0| 44 4f 53 20 70 72 6f 67 | 72 61 6d 73 2c 0d 0a 20 |DOS prog|rams,.. |
|000052d0| 20 20 20 74 68 69 73 20 | 69 73 20 74 68 65 20 6c | this |is the l|
|000052e0| 69 62 72 61 72 79 20 43 | 4d 41 54 48 4c 33 2e 4c |ibrary C|MATHL3.L|
|000052f0| 49 42 2c 20 66 6f 72 20 | 57 69 6e 64 6f 77 73 33 |IB, for |Windows3|
|00005300| 2e 78 20 79 6f 75 20 6e | 65 65 64 20 43 4d 41 54 |.x you n|eed CMAT|
|00005310| 48 4c 33 57 2e 4c 49 42 | 2c 0d 0a 20 20 20 20 66 |HL3W.LIB|,.. f|
|00005320| 6f 72 20 57 69 6e 33 32 | 2c 20 43 4d 41 54 48 46 |or Win32|, CMATHF|
|00005330| 33 57 2e 4c 49 42 2e 0d | 0a 0d 0a 35 2e 20 20 49 |3W.LIB..|...5. I|
|00005340| 6e 20 79 6f 75 72 20 43 | 2b 2b 20 70 72 6f 67 72 |n your C|++ progr|
|00005350| 61 6d 73 2c 20 64 65 63 | 6c 61 72 65 20 0d 0a 20 |ams, dec|lare .. |
|00005360| 20 20 20 20 20 20 20 20 | 23 69 6e 63 6c 75 64 65 | |#include|
|00005370| 20 3c 6e 65 77 63 70 6c | 78 2e 68 3e 0d 0a 20 20 | <newcpl|x.h>.. |
|00005380| 20 20 46 6f 72 20 43 20 | 6d 6f 64 75 6c 65 73 2c | For C |modules,|
|00005390| 20 64 65 63 6c 61 72 65 | 3a 0d 0a 20 20 20 20 20 | declare|:.. |
|000053a0| 20 20 20 20 23 69 6e 63 | 6c 75 64 65 20 3c 63 6d | #inc|lude <cm|
|000053b0| 61 74 68 2e 68 3e 0d 0a | 20 20 20 20 49 66 20 79 |ath.h>..| If y|
|000053c0| 6f 75 20 61 72 65 20 75 | 73 69 6e 67 20 4f 62 6a |ou are u|sing Obj|
|000053d0| 65 63 74 57 69 6e 64 6f | 77 73 2c 20 3c 6e 65 77 |ectWindo|ws, <new|
|000053e0| 63 70 6c 78 2e 68 3e 20 | 6f 72 20 3c 63 6d 61 74 |cplx.h> |or <cmat|
|000053f0| 68 2e 68 3e 0d 0a 20 20 | 20 20 6d 75 73 74 20 62 |h.h>.. | must b|
|00005400| 65 20 69 6e 63 6c 75 64 | 65 64 20 61 66 74 65 72 |e includ|ed after|
|00005410| 28 21 29 20 74 68 65 20 | 69 6e 63 6c 75 64 65 20 |(!) the |include |
|00005420| 66 69 6c 65 73 20 66 6f | 72 20 4f 57 4c 2e 0d 0a |files fo|r OWL...|
|00005430| 0d 0a 36 2e 20 31 36 2d | 62 69 74 20 70 72 6f 67 |..6. 16-|bit prog|
|00005440| 72 61 6d 73 20 6f 6e 6c | 79 3a 0d 0a 20 20 20 20 |rams onl|y:.. |
|00005450| 2a 20 20 20 49 66 20 74 | 68 65 20 6c 69 6e 6b 65 |* If t|he linke|
|00005460| 72 20 6f 70 74 69 6f 6e | 20 22 70 72 6f 63 65 73 |r option| "proces|
|00005470| 73 20 65 78 74 65 6e 64 | 65 64 20 64 69 63 74 69 |s extend|ed dicti|
|00005480| 6f 6e 61 72 69 65 73 22 | 20 69 73 20 61 76 61 69 |onaries"| is avai|
|00005490| 6c 61 62 6c 65 0d 0a 20 | 20 20 20 20 20 20 20 69 |lable.. | i|
|000054a0| 6e 20 79 6f 75 72 20 76 | 65 72 73 69 6f 6e 20 6f |n your v|ersion o|
|000054b0| 66 20 42 6f 72 6c 61 6e | 64 20 43 2b 2b 2c 20 79 |f Borlan|d C++, y|
|000054c0| 6f 75 20 6d 75 73 74 20 | 73 77 69 74 63 68 20 69 |ou must |switch i|
|000054d0| 74 20 6f 6e 2e 0d 0a 20 | 20 20 20 20 20 20 20 4f |t on... | O|
|000054e0| 74 68 65 72 77 69 73 65 | 2c 20 79 6f 75 20 6d 69 |therwise|, you mi|
|000054f0| 67 68 74 20 67 65 74 20 | 61 20 22 54 61 62 6c 65 |ght get |a "Table|
|00005500| 20 6c 69 6d 69 74 20 65 | 78 63 65 65 64 65 64 22 | limit e|xceeded"|
|00005510| 20 6c 69 6e 6b 65 72 20 | 65 72 72 6f 72 2e 0d 0a | linker |error...|
|00005520| 0d 0a 20 20 20 20 2a 20 | 20 20 43 4d 41 54 48 20 |.. * | CMATH |
|00005530| 77 6f 72 6b 73 20 77 69 | 74 68 20 42 6f 72 6c 61 |works wi|th Borla|
|00005540| 6e 64 20 28 54 75 72 62 | 6f 29 20 43 2b 2b 2c 20 |nd (Turb|o) C++, |
|00005550| 76 65 72 73 69 6f 6e 20 | 33 2e 30 20 6f 72 20 68 |version |3.0 or h|
|00005560| 69 67 68 65 72 2e 20 53 | 69 6e 63 65 2c 0d 0a 20 |igher. S|ince,.. |
|00005570| 20 20 20 20 20 20 20 66 | 72 6f 6d 20 76 65 72 73 | f|rom vers|
|00005580| 69 6f 6e 20 34 2e 30 20 | 6f 6e 2c 20 42 6f 72 6c |ion 4.0 |on, Borl|
|00005590| 61 6e 64 20 63 68 61 6e | 67 65 64 20 74 68 65 20 |and chan|ged the |
|000055a0| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 65 72 72 6f |name of |the erro|
|000055b0| 72 20 68 61 6e 64 6c 69 | 6e 67 0d 0a 20 20 20 20 |r handli|ng.. |
|000055c0| 20 20 20 20 72 6f 75 74 | 69 6e 65 20 6d 61 74 68 | rout|ine math|
|000055d0| 65 72 72 20 28 77 69 74 | 68 6f 75 74 20 75 6e 64 |err (wit|hout und|
|000055e0| 65 72 62 61 72 29 20 69 | 6e 74 6f 20 5f 6d 61 74 |erbar) i|nto _mat|
|000055f0| 68 65 72 72 20 28 77 69 | 74 68 20 61 20 6c 65 61 |herr (wi|th a lea|
|00005600| 64 69 6e 67 0d 0a 20 20 | 20 20 20 20 20 20 75 6e |ding.. | un|
|00005610| 64 65 72 62 61 72 29 2c | 20 61 6e 79 20 31 36 2d |derbar),| any 16-|
|00005620| 62 69 74 20 70 72 6f 67 | 72 61 6d 20 75 73 69 6e |bit prog|ram usin|
|00005630| 67 20 43 4d 41 54 48 20 | 68 61 73 20 74 6f 20 63 |g CMATH |has to c|
|00005640| 61 6c 6c 20 61 20 6d 61 | 63 72 6f 2c 0d 0a 20 20 |all a ma|cro,.. |
|00005650| 20 20 20 20 20 20 4e 45 | 57 4d 41 54 48 45 52 52 | NE|WMATHERR|
|00005660| 2c 20 77 68 69 63 68 20 | 74 61 6b 65 73 20 20 63 |, which |takes c|
|00005670| 61 72 65 20 6f 66 20 72 | 65 64 69 72 65 63 74 69 |are of r|edirecti|
|00005680| 6e 67 20 63 61 6c 6c 73 | 20 74 6f 20 5f 6d 61 74 |ng calls| to _mat|
|00005690| 68 65 72 72 2c 0d 0a 20 | 20 20 20 20 20 20 20 69 |herr,.. | i|
|000056a0| 66 20 6e 65 63 65 73 73 | 61 72 79 2e 20 59 6f 75 |f necess|ary. You|
|000056b0| 20 73 68 6f 75 6c 64 20 | 70 6c 61 63 65 20 74 68 | should |place th|
|000056c0| 65 20 63 61 6c 6c 20 74 | 6f 20 4e 45 57 4d 41 54 |e call t|o NEWMAT|
|000056d0| 48 45 52 52 20 69 6e 74 | 6f 20 74 68 65 0d 0a 20 |HERR int|o the.. |
|000056e0| 20 20 20 20 20 20 20 6d | 6f 64 75 6c 65 20 63 6f | m|odule co|
|000056f0| 6e 74 61 69 6e 69 6e 67 | 20 20 6d 61 69 6e 28 29 |ntaining| main()|
|00005700| 20 6f 72 20 4f 77 6c 4d | 61 69 6e 28 29 3a 0d 0a | or OwlM|ain():..|
|00005710| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 23 |.. | #|
|00005720| 69 6e 63 6c 75 64 65 20 | 2e 2e 2e 2e 2e 0d 0a 20 |include |....... |
|00005730| 20 20 20 20 20 20 20 20 | 20 20 20 20 23 69 6e 63 | | #inc|
|00005740| 6c 75 64 65 20 3c 6e 65 | 78 63 70 6c 78 2e 68 3e |lude <ne|xcplx.h>|
|00005750| 20 20 20 2f 2a 20 6f 72 | 3a 20 23 69 6e 63 6c 75 | /* or|: #inclu|
|00005760| 64 65 20 3c 63 6d 61 74 | 68 2e 68 3e 20 2a 2f 0d |de <cmat|h.h> */.|
|00005770| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 4e 45 |. | NE|
|00005780| 57 4d 41 54 48 45 52 52 | 0d 0a 0d 0a 20 20 20 20 |WMATHERR|.... |
|00005790| 20 20 20 20 20 20 20 20 | 20 69 6e 74 20 6d 61 69 | | int mai|
|000057a0| 6e 28 20 76 6f 69 64 20 | 29 0d 0a 20 20 20 20 20 |n( void |).. |
|000057b0| 20 20 20 20 20 20 20 20 | 7b 20 20 20 20 2e 2e 2e | |{ ...|
|000057c0| 2e 2e 2e 2e 2e 2e 2e 20 | 20 20 7d 0d 0a 0d 0a 20 |....... | }.... |
|000057d0| 20 20 20 20 20 20 20 49 | 66 20 79 6f 75 20 66 6f | I|f you fo|
|000057e0| 72 67 65 74 20 74 6f 20 | 63 61 6c 6c 20 4e 45 57 |rget to |call NEW|
|000057f0| 4d 41 54 48 45 52 52 2c | 20 79 6f 75 20 77 69 6c |MATHERR,| you wil|
|00005800| 6c 20 67 65 74 20 61 20 | 6c 69 6e 6b 65 72 20 65 |l get a |linker e|
|00005810| 72 72 6f 72 0d 0a 20 20 | 20 20 20 20 20 20 22 55 |rror.. | "U|
|00005820| 6e 72 65 73 6f 6c 76 65 | 64 20 65 78 74 65 72 6e |nresolve|d extern|
|00005830| 61 6c 20 5f 6d 61 74 68 | 65 72 72 22 20 69 6e 20 |al _math|err" in |
|00005840| 74 68 65 20 42 6f 72 6c | 61 6e 64 20 43 20 76 65 |the Borl|and C ve|
|00005850| 72 73 69 6f 6e 73 20 66 | 72 6f 6d 20 34 2e 30 20 |rsions f|rom 4.0 |
|00005860| 6f 6e 2e 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 49 |on..... | I|
|00005870| 6e 63 6c 75 73 69 6f 6e | 20 6f 66 20 74 68 65 20 |nclusion| of the |
|00005880| 6d 61 63 72 6f 20 4e 45 | 57 4d 41 54 48 45 52 52 |macro NE|WMATHERR|
|00005890| 20 69 73 20 6e 6f 74 20 | 6e 65 65 64 65 64 20 66 | is not |needed f|
|000058a0| 6f 72 20 33 32 2d 62 69 | 74 20 70 72 6f 67 72 61 |or 32-bi|t progra|
|000058b0| 6d 73 2e 0d 0a 0d 0a 41 | 66 74 65 72 20 74 68 65 |ms.....A|fter the|
|000058c0| 73 65 20 70 72 65 70 61 | 72 61 74 69 6f 6e 73 2c |se prepa|rations,|
|000058d0| 20 61 6c 6c 20 43 4d 41 | 54 48 20 66 75 6e 63 74 | all CMA|TH funct|
|000058e0| 69 6f 6e 73 20 61 72 65 | 20 61 76 61 69 6c 61 62 |ions are| availab|
|000058f0| 6c 65 20 66 6f 72 20 79 | 6f 75 72 20 70 72 6f 67 |le for y|our prog|
|00005900| 72 61 6d 73 2e 0d 0a 0d | 0a 0d 0a 32 2e 32 20 44 |rams....|...2.2 D|
|00005910| 65 2d 49 6e 73 74 61 6c | 6c 61 74 69 6f 6e 0d 0a |e-Instal|lation..|
|00005920| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005930| 2d 2d 2d 0d 0a 0d 0a 53 | 68 6f 75 6c 64 20 79 6f |---....S|hould yo|
|00005940| 75 20 77 69 73 68 20 74 | 6f 20 72 65 6d 6f 76 65 |u wish t|o remove|
|00005950| 20 43 4d 41 54 48 20 66 | 72 6f 6d 20 79 6f 75 72 | CMATH f|rom your|
|00005960| 20 63 6f 6d 70 75 74 65 | 72 20 61 66 74 65 72 20 | compute|r after |
|00005970| 74 65 73 74 69 6e 67 2c | 20 70 6c 65 61 73 65 0d |testing,| please.|
|00005980| 0a 73 69 6d 70 6c 79 20 | 64 65 6c 65 74 65 20 74 |.simply |delete t|
|00005990| 68 65 20 64 69 72 65 63 | 74 6f 72 79 20 43 4d 41 |he direc|tory CMA|
|000059a0| 54 48 20 77 69 74 68 20 | 69 74 73 20 73 75 62 64 |TH with |its subd|
|000059b0| 69 72 65 63 74 6f 72 69 | 65 73 2e 20 54 68 65 20 |irectori|es. The |
|000059c0| 69 6e 73 74 61 6c 6c 61 | 74 69 6f 6e 0d 0a 6f 66 |installa|tion..of|
|000059d0| 20 43 4d 41 54 48 20 64 | 6f 65 73 20 6e 6f 74 20 | CMATH d|oes not |
|000059e0| 61 66 66 65 63 74 20 61 | 6e 79 20 66 69 6c 65 73 |affect a|ny files|
|000059f0| 20 6f 75 74 73 69 64 65 | 20 69 74 73 20 6f 77 6e | outside| its own|
|00005a00| 20 64 69 72 65 63 74 6f | 72 79 2c 20 73 6f 20 74 | directo|ry, so t|
|00005a10| 68 65 72 65 0d 0a 69 73 | 20 6e 6f 74 68 69 6e 67 |here..is| nothing|
|00005a20| 20 65 6c 73 65 20 74 6f | 20 67 65 74 20 72 69 64 | else to| get rid|
|00005a30| 20 6f 66 2e 0d 0a 0d 0a | 0d 0a 0d 0a 2a 2a 2a 2a | of.....|....****|
|00005a40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005a50| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005a60| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005a70| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005a80| 2a 2a 2a 2a 2a 2a 2a 2a | 0d 0a 2a 20 20 20 20 20 |********|..* |
|00005a90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005aa0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ab0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ac0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005ad0| 20 20 20 20 20 2a 0d 0a | 2a 2a 2a 2a 2a 2a 2a 20 | *..|******* |
|00005ae0| 20 20 20 20 20 20 33 2e | 20 4f 76 65 72 76 69 65 | 3.| Overvie|
|00005af0| 77 20 6f 76 65 72 20 74 | 68 65 20 46 75 6e 63 74 |w over t|he Funct|
|00005b00| 69 6f 6e 73 20 6f 66 20 | 43 4d 41 54 48 20 20 20 |ions of |CMATH |
|00005b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2a 2a 2a | | ***|
|00005b20| 2a 2a 2a 2a 0d 0a 2a 20 | 20 20 20 20 20 20 20 20 |****..* | |
|00005b30| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005b40| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005b50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005b60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005b70| 20 2a 0d 0a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a | *..****|********|
|00005b80| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005b90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005ba0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005bb0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005bc0| 0d 0a 0d 0a 46 6f 72 20 | 43 2b 2b 2c 20 61 6c 6c |....For |C++, all|
|00005bd0| 20 66 75 6e 63 74 69 6f | 6e 73 20 6f 66 20 43 4d | functio|ns of CM|
|00005be0| 41 54 48 20 61 72 65 20 | 64 65 63 6c 61 72 65 64 |ATH are |declared|
|00005bf0| 20 69 6e 20 3c 6e 65 78 | 63 70 6c 78 2e 68 3e 2e | in <nex|cplx.h>.|
|00005c00| 0d 0a 46 6f 72 20 43 2c | 20 74 68 65 72 65 20 61 |..For C,| there a|
|00005c10| 72 65 20 74 68 65 20 66 | 6f 6c 6c 6f 77 69 6e 67 |re the f|ollowing|
|00005c20| 20 74 68 72 65 65 20 69 | 6e 63 6c 75 64 65 2d 66 | three i|nclude-f|
|00005c30| 69 6c 65 73 3a 0d 0a 3c | 63 66 6d 61 74 68 2e 68 |iles:..<|cfmath.h|
|00005c40| 3e 20 64 65 63 6c 61 72 | 65 73 20 61 6c 6c 20 66 |> declar|es all f|
|00005c50| 75 6e 63 74 69 6f 6e 73 | 20 66 6f 72 20 73 69 6e |unctions| for sin|
|00005c60| 67 6c 65 20 70 72 65 63 | 69 73 69 6f 6e 20 28 64 |gle prec|ision (d|
|00005c70| 61 74 61 20 74 79 70 65 | 20 66 43 6f 6d 70 6c 65 |ata type| fComple|
|00005c80| 78 29 2c 0d 0a 3c 63 64 | 6d 61 74 68 2e 68 3e 20 |x),..<cd|math.h> |
|00005c90| 63 6f 6e 74 61 69 6e 73 | 20 61 6c 6c 20 64 6f 75 |contains| all dou|
|00005ca0| 62 6c 65 2d 70 72 65 63 | 69 73 69 6f 6e 20 66 75 |ble-prec|ision fu|
|00005cb0| 6e 63 74 69 6f 6e 73 20 | 28 64 61 74 61 20 74 79 |nctions |(data ty|
|00005cc0| 70 65 20 64 43 6f 6d 70 | 6c 65 78 29 2c 20 61 6e |pe dComp|lex), an|
|00005cd0| 64 0d 0a 3c 63 65 6d 61 | 74 68 2e 68 3e 20 6c 69 |d..<cema|th.h> li|
|00005ce0| 73 74 73 20 61 6c 6c 20 | 66 75 6e 63 74 69 6f 6e |sts all |function|
|00005cf0| 73 20 66 6f 72 20 65 78 | 74 65 6e 64 65 64 20 70 |s for ex|tended p|
|00005d00| 72 65 63 69 73 69 6f 6e | 20 28 64 61 74 61 20 74 |recision| (data t|
|00005d10| 79 70 65 20 65 43 6f 6d | 70 6c 65 78 29 2e 0d 0a |ype eCom|plex)...|
|00005d20| 54 68 65 20 69 6e 63 6c | 75 64 65 2d 66 69 6c 65 |The incl|ude-file|
|00005d30| 20 3c 63 6d 61 74 68 2e | 68 3e 20 75 6e 69 74 65 | <cmath.|h> unite|
|00005d40| 73 20 74 68 65 20 74 68 | 72 65 65 20 69 6e 63 6c |s the th|ree incl|
|00005d50| 75 64 65 2d 66 69 6c 65 | 73 20 6a 75 73 74 20 6d |ude-file|s just m|
|00005d60| 65 6e 74 69 6f 6e 65 64 | 2e 0d 0a 0d 0a 49 6e 20 |entioned|.....In |
|00005d70| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 2c 20 69 |the foll|owing, i|
|00005d80| 74 20 69 73 20 6f 66 74 | 65 6e 20 6f 6e 6c 79 20 |t is oft|en only |
|00005d90| 74 68 65 20 66 43 6f 6d | 70 6c 65 78 2d 76 65 72 |the fCom|plex-ver|
|00005da0| 73 69 6f 6e 20 6f 66 20 | 61 20 66 75 6e 63 74 69 |sion of |a functi|
|00005db0| 6f 6e 20 74 68 61 74 0d | 0a 69 73 20 65 78 70 6c |on that.|.is expl|
|00005dc0| 69 63 69 74 6c 79 20 6d | 65 6e 74 69 6f 6e 65 64 |icitly m|entioned|
|00005dd0| 2e 20 54 68 65 20 76 65 | 72 73 69 6f 6e 73 20 66 |. The ve|rsions f|
|00005de0| 6f 72 20 64 43 6f 6d 70 | 6c 65 78 20 61 6e 64 20 |or dComp|lex and |
|00005df0| 65 43 6f 6d 70 6c 65 78 | 20 61 72 65 20 61 6c 77 |eComplex| are alw|
|00005e00| 61 79 73 0d 0a 65 78 61 | 63 74 6c 79 20 61 6e 61 |ays..exa|ctly ana|
|00005e10| 6c 6f 67 6f 75 73 2e 0d | 0a 0d 0a 41 6c 6c 20 66 |logous..|...All f|
|00005e20| 75 6e 63 74 69 6f 6e 73 | 20 66 6f 72 20 74 68 65 |unctions| for the|
|00005e30| 20 6c 61 6e 67 75 61 67 | 65 20 43 20 68 61 76 65 | languag|e C have|
|00005e40| 20 61 20 70 72 65 66 69 | 78 20 64 65 6e 6f 74 69 | a prefi|x denoti|
|00005e50| 6e 67 20 74 68 65 20 64 | 61 74 61 20 74 79 70 65 |ng the d|ata type|
|00005e60| 20 6f 6e 0d 0a 77 68 69 | 63 68 20 74 68 65 20 66 | on..whi|ch the f|
|00005e70| 75 6e 63 74 69 6f 6e 20 | 77 6f 72 6b 73 3a 0d 0a |unction |works:..|
|00005e80| 22 63 66 5f 22 20 73 74 | 61 6e 64 73 20 66 6f 72 |"cf_" st|ands for|
|00005e90| 20 73 69 6e 67 6c 65 20 | 70 72 65 63 69 73 69 6f | single |precisio|
|00005ea0| 6e 20 28 61 72 67 75 6d | 65 6e 74 73 20 61 6e 64 |n (argum|ents and|
|00005eb0| 20 72 65 74 75 72 6e 20 | 76 61 6c 75 65 73 20 6f | return |values o|
|00005ec0| 66 20 74 68 65 20 64 61 | 74 61 0d 0a 20 20 20 20 |f the da|ta.. |
|00005ed0| 20 20 74 79 70 65 20 66 | 43 6f 6d 70 6c 65 78 2c | type f|Complex,|
|00005ee0| 20 73 6f 6d 65 74 69 6d | 65 73 20 74 6f 67 65 74 | sometim|es toget|
|00005ef0| 68 65 72 20 77 69 74 68 | 20 66 6c 6f 61 74 29 2c |her with| float),|
|00005f00| 0d 0a 22 63 64 5f 22 20 | 73 74 61 6e 64 73 20 66 |.."cd_" |stands f|
|00005f10| 6f 72 20 64 6f 75 62 6c | 65 20 70 72 65 63 69 73 |or doubl|e precis|
|00005f20| 69 6f 6e 20 28 64 43 6f | 6d 70 6c 65 78 20 61 6e |ion (dCo|mplex an|
|00005f30| 64 20 64 6f 75 62 6c 65 | 29 2c 20 77 68 65 72 65 |d double|), where|
|00005f40| 61 73 0d 0a 22 63 65 5f | 22 20 64 65 6e 6f 74 65 |as.."ce_|" denote|
|00005f50| 73 20 65 78 74 65 6e 64 | 65 64 2d 70 72 65 63 69 |s extend|ed-preci|
|00005f60| 73 69 6f 6e 20 66 75 6e | 63 74 69 6f 6e 73 2e 0d |sion fun|ctions..|
|00005f70| 0a 0d 0a 49 6e 20 43 2b | 2b 2c 20 73 79 6e 6f 6e |...In C+|+, synon|
|00005f80| 79 6d 73 20 61 72 65 20 | 64 65 66 69 6e 65 64 20 |yms are |defined |
|00005f90| 66 6f 72 20 61 6c 6c 20 | 74 68 65 73 65 20 66 75 |for all |these fu|
|00005fa0| 6e 63 74 69 6f 6e 73 2e | 20 54 68 65 20 73 79 6e |nctions.| The syn|
|00005fb0| 6f 6e 79 6d 73 20 64 6f | 20 6e 6f 74 0d 0a 68 61 |onyms do| not..ha|
|00005fc0| 76 65 20 61 20 70 72 65 | 66 69 78 2c 20 73 69 6e |ve a pre|fix, sin|
|00005fd0| 63 65 20 74 68 65 20 64 | 61 74 61 20 74 79 70 65 |ce the d|ata type|
|00005fe0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 69 73 20 | informa|tion is |
|00005ff0| 69 6d 70 6c 69 63 69 74 | 6c 79 20 68 61 6e 64 6c |implicit|ly handl|
|00006000| 65 64 20 62 79 20 74 68 | 65 0d 0a 43 2b 2b 20 63 |ed by th|e..C++ c|
|00006010| 6f 6d 70 69 6c 65 72 2e | 20 54 68 65 20 43 2b 2b |ompiler.| The C++|
|00006020| 20 66 75 6e 63 74 69 6f | 6e 20 6e 61 6d 65 73 20 | functio|n names |
|00006030| 61 72 65 20 61 6c 77 61 | 79 73 20 69 64 65 6e 74 |are alwa|ys ident|
|00006040| 69 63 61 6c 20 74 6f 20 | 74 68 6f 73 65 20 66 6f |ical to |those fo|
|00006050| 75 6e 64 0d 0a 69 6e 20 | 74 68 65 20 63 6f 6d 70 |und..in |the comp|
|00006060| 6c 65 78 20 63 6c 61 73 | 73 20 6c 69 62 72 61 72 |lex clas|s librar|
|00006070| 69 65 73 20 28 69 66 20 | 74 68 65 20 72 65 73 70 |ies (if |the resp|
|00006080| 65 63 74 69 76 65 20 66 | 75 6e 63 74 69 6f 6e 20 |ective f|unction |
|00006090| 65 78 69 73 74 73 20 74 | 68 65 72 65 29 2e 0d 0a |exists t|here)...|
|000060a0| 4f 66 20 63 6f 75 72 73 | 65 2c 20 69 66 20 79 6f |Of cours|e, if yo|
|000060b0| 75 20 77 69 73 68 20 74 | 6f 20 75 73 65 20 74 68 |u wish t|o use th|
|000060c0| 65 20 43 20 66 75 6e 63 | 74 69 6f 6e 20 6e 61 6d |e C func|tion nam|
|000060d0| 65 73 20 69 6e 20 79 6f | 75 72 20 43 2b 2b 20 6d |es in yo|ur C++ m|
|000060e0| 6f 64 75 6c 65 73 2c 0d | 0a 79 6f 75 20 63 61 6e |odules,.|.you can|
|000060f0| 20 64 6f 20 73 6f 20 62 | 79 20 69 6e 63 6c 75 64 | do so b|y includ|
|00006100| 69 6e 67 20 3c 63 6d 61 | 74 68 2e 68 3e 20 69 6e |ing <cma|th.h> in|
|00006110| 73 74 65 61 64 20 6f 66 | 20 3c 6e 65 77 63 70 6c |stead of| <newcpl|
|00006120| 78 2e 68 3e 2e 0d 0a 0d | 0a 0d 0a 33 2e 31 20 49 |x.h>....|...3.1 I|
|00006130| 6e 69 74 69 61 6c 69 7a | 61 74 69 6f 6e 20 6f 66 |nitializ|ation of|
|00006140| 20 43 6f 6d 70 6c 65 78 | 20 4e 75 6d 62 65 72 73 | Complex| Numbers|
|00006150| 0d 0a 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|00006160| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006170| 2d 2d 2d 2d 2d 2d 2d 0d | 0a 0d 0a 46 6f 72 20 43 |-------.|...For C|
|00006180| 2b 2b 20 6d 6f 64 75 6c | 65 73 2c 20 74 68 65 72 |++ modul|es, ther|
|00006190| 65 20 61 72 65 20 73 65 | 76 65 72 61 6c 20 6f 76 |e are se|veral ov|
|000061a0| 65 72 6c 6f 61 64 65 64 | 20 63 6f 6e 73 74 72 75 |erloaded| constru|
|000061b0| 63 74 6f 72 73 3a 0d 0a | 20 20 20 20 20 20 20 20 |ctors:..| |
|000061c0| 20 20 66 43 6f 6d 70 6c | 65 78 20 66 43 6f 6d 70 | fCompl|ex fComp|
|000061d0| 6c 65 78 28 20 66 6c 6f | 61 74 20 52 65 50 61 72 |lex( flo|at RePar|
|000061e0| 74 2c 20 66 6c 6f 61 74 | 20 49 6d 50 61 72 74 20 |t, float| ImPart |
|000061f0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 66 43 |);.. | fC|
|00006200| 6f 6d 70 6c 65 78 20 66 | 43 6f 6d 70 6c 65 78 28 |omplex f|Complex(|
|00006210| 20 66 6c 6f 61 74 20 52 | 65 50 61 72 74 20 29 3b | float R|ePart );|
|00006220| 20 20 2f 2f 20 69 6d 61 | 67 69 6e 61 72 79 20 70 | // ima|ginary p|
|00006230| 61 72 74 20 61 6c 77 61 | 79 73 20 30 0d 0a 20 20 |art alwa|ys 0.. |
|00006240| 20 20 20 20 20 20 20 20 | 66 43 6f 6d 70 6c 65 78 | |fComplex|
|00006250| 20 66 43 6f 6d 70 6c 65 | 78 28 20 64 43 6f 6d 70 | fComple|x( dComp|
|00006260| 6c 65 78 20 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |lex );..| |
|00006270| 20 20 66 43 6f 6d 70 6c | 65 78 20 66 43 6f 6d 70 | fCompl|ex fComp|
|00006280| 6c 65 78 28 20 65 43 6f | 6d 70 6c 65 78 20 29 3b |lex( eCo|mplex );|
|00006290| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 54 68 |.... | Th|
|000062a0| 65 20 69 6e 74 65 72 63 | 6f 6e 76 65 72 73 69 6f |e interc|onversio|
|000062b0| 6e 20 62 65 74 77 65 65 | 6e 20 74 68 65 20 63 6f |n betwee|n the co|
|000062c0| 6d 70 6c 65 78 20 74 79 | 70 65 73 20 6f 66 20 64 |mplex ty|pes of d|
|000062d0| 69 66 66 65 72 65 6e 74 | 0d 0a 20 20 20 20 20 20 |ifferent|.. |
|000062e0| 20 20 20 20 6c 65 76 65 | 6c 20 6f 66 20 61 63 63 | leve|l of acc|
|000062f0| 75 72 61 63 79 20 6d 61 | 79 2c 20 69 6e 20 74 68 |uracy ma|y, in th|
|00006300| 65 20 63 6f 75 72 73 65 | 20 6f 66 20 64 6f 77 6e |e course| of down|
|00006310| 2d 63 6f 6e 76 65 72 73 | 69 6f 6e 73 2c 0d 0a 20 |-convers|ions,.. |
|00006320| 20 20 20 20 20 20 20 20 | 20 6c 65 61 64 20 74 6f | | lead to|
|00006330| 20 4f 56 45 52 46 4c 4f | 57 20 65 72 72 6f 72 73 | OVERFLO|W errors|
|00006340| 2e 20 54 68 65 73 65 20 | 61 72 65 20 61 72 65 20 |. These |are are |
|00006350| 63 61 75 67 68 74 20 61 | 6e 64 20 74 72 65 61 74 |caught a|nd treat|
|00006360| 65 64 0d 0a 20 20 20 20 | 20 20 20 20 20 20 76 69 |ed.. | vi|
|00006370| 61 20 5f 6d 61 74 68 65 | 72 72 2e 0d 0a 20 20 20 |a _mathe|rr... |
|00006380| 20 20 20 20 20 20 20 53 | 69 6d 69 6c 61 72 6c 79 | S|imilarly|
|00006390| 20 74 6f 20 74 68 65 20 | 63 6f 6e 73 74 72 75 63 | to the |construc|
|000063a0| 74 6f 72 20 66 43 6f 6d | 70 6c 65 78 28 29 2c 20 |tor fCom|plex(), |
|000063b0| 61 6c 73 6f 20 64 43 6f | 6d 70 6c 65 78 28 29 20 |also dCo|mplex() |
|000063c0| 61 6e 64 0d 0a 20 20 20 | 20 20 20 20 20 20 20 65 |and.. | e|
|000063d0| 43 6f 6d 70 6c 65 78 28 | 29 20 65 78 69 73 74 20 |Complex(|) exist |
|000063e0| 69 6e 20 6f 76 65 72 6c | 6f 61 64 65 64 20 76 65 |in overl|oaded ve|
|000063f0| 72 73 69 6f 6e 73 20 70 | 65 72 66 6f 72 6d 69 6e |rsions p|erformin|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.